initial setup

This commit is contained in:
2025-05-29 13:53:53 +02:00
commit 9f1f69cf9b
112 changed files with 3344 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Filesystem for clients. Use partlabel as device to make it reusable. Singledisk setup.
{ ... }:
{
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;
}];
}