nixos/devices/pcvm/default.nix

29 lines
674 B
Nix
Raw Normal View History

2024-07-03 07:49:52 +08:00
inputs:
{
config =
{
nixos =
{
system =
{
fileSystems =
{
mount =
{
2024-08-17 12:28:58 +08:00
# TODO: reparition
vfat."/dev/disk/by-uuid/AE90-1DD1" = "/boot";
btrfs."/dev/mapper/root" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
2024-07-03 07:49:52 +08:00
};
2024-07-03 10:03:04 +08:00
decrypt.auto."/dev/disk/by-uuid/a9e4a508-3f0b-492e-b932-e2019be28615" = { mapper = "root"; ssd = true; };
2024-07-03 07:49:52 +08:00
rollingRootfs = {};
};
kernel.variant = "xanmod-latest";
networking.hostname = "pcvm";
initrd.sshd.enable = true;
};
hardware.cpus = [ "amd" ];
services.sshd = {};
};
};
}