mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 05:49:23 +08:00
35 lines
829 B
Nix
35 lines
829 B
Nix
inputs:
|
|
{
|
|
config =
|
|
{
|
|
nixos =
|
|
{
|
|
model.private = true;
|
|
system =
|
|
{
|
|
fileSystems =
|
|
{
|
|
mount =
|
|
{
|
|
vfat."/dev/disk/by-uuid/627D-1FAA" = "/boot";
|
|
btrfs."/dev/mapper/root3" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
|
|
};
|
|
swap = [ "/dev/mapper/swap" ];
|
|
rollingRootfs.waitDevices = [ "/dev/mapper/root4" ];
|
|
};
|
|
initrd.sshd = {};
|
|
nixpkgs.march = "silvermont";
|
|
network = {};
|
|
};
|
|
hardware.gpu.type = "intel";
|
|
services =
|
|
{
|
|
sshd = {};
|
|
xray.client.dnsmasq.hosts."git.nas.chn.moe" = "127.0.0.1";
|
|
beesd."/".hashTableSizeMB = 10 * 128;
|
|
nfs."/" = [(inputs.topInputs.self.config.dns."chn.moe".getAddress "wg1.pc")];
|
|
};
|
|
};
|
|
};
|
|
}
|