This commit is contained in:
2026-03-03 00:39:25 +01:00
parent e959d13d90
commit 8310bb525e

View File

@@ -0,0 +1,19 @@
{ ... }: {
flake.nixosModules.singledisk = {
fileSystems."/" = {
device = "/dev/disk/by-label/root";
fsType = "xfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [{
device = "/var/lib/swapfile";
size = 16 * 1024;
}];
};
}