initial setup
This commit is contained in:
19
root/filesystem/client/default.nix
Normal file
19
root/filesystem/client/default.nix
Normal 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;
|
||||
}];
|
||||
}
|
Reference in New Issue
Block a user