jungle/m/common/fs.nix

26 lines
464 B
Nix
Raw Normal View History

2023-03-31 18:27:25 +02:00
{ ... }:
{
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-label/swap"; }
];
2023-03-31 18:27:25 +02:00
# Mount the home via NFS
fileSystems."/home" = {
device = "10.0.40.30:/home";
fsType = "nfs";
2023-04-03 12:51:44 +02:00
options = [ "nfsvers=3" "rsize=1024" "wsize=1024" "cto" "nofail" ];
};
# Tracing
fileSystems."/sys/kernel/tracing" = {
device = "none";
fsType = "tracefs";
2023-03-31 18:27:25 +02:00
};
}