move filesystems to modules

This commit is contained in:
k3t
2026-06-23 15:31:09 -06:00
parent c43e440702
commit bfb8471a4b
3 changed files with 19 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{
fileSystems."/boot" =
{ device = "/dev/disk/by-label/EFI";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
}
+7
View File
@@ -0,0 +1,7 @@
{
fileSystems."/" =
{ device = "/dev/disk/by-label/NixOS";
fsType = "btrfs";
options = [ "discard" ];
};
}
+5
View File
@@ -0,0 +1,5 @@
{
swapDevices = [{ device = "/dev/disk/by-label/Swap";
options = [ "discard" "nofail" ];
}];
}