2025-04-27 14:57:50 +01:00
|
|
|
{... }:
|
2024-06-05 23:04:40 +01:00
|
|
|
|
|
|
|
{
|
2024-08-29 12:09:20 +01:00
|
|
|
services.rpcbind.enable = true; # needed for NFS
|
|
|
|
systemd.mounts = [{
|
|
|
|
type = "nfs";
|
2025-02-04 01:02:57 +00:00
|
|
|
what = "10.27.27.239:/BigNAS";
|
2024-08-29 12:09:20 +01:00
|
|
|
where = "/mnt/BigNAS";
|
2025-04-27 14:57:50 +01:00
|
|
|
mountConfig = {
|
|
|
|
Options = "noatime,nofail,x-systemd.device-timeout=5s";
|
|
|
|
};
|
2024-08-29 12:09:20 +01:00
|
|
|
}];
|
|
|
|
|
|
|
|
systemd.automounts = [{
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
automountConfig = {
|
|
|
|
TimeoutIdleSec = "600";
|
|
|
|
};
|
|
|
|
where = "/mnt/BigNAS";
|
|
|
|
}];
|
2025-04-27 14:57:50 +01:00
|
|
|
fileSystems."/mnt/NVME" = {
|
|
|
|
device = "/dev/disk/by-uuid/15b96913-a018-4ecc-950c-b8cf74b93315";
|
2024-10-18 19:30:57 +01:00
|
|
|
fsType = "btrfs";
|
2025-04-27 14:57:50 +01:00
|
|
|
options = [ "compress=zstd" "nofail" "x-systemd.device-timeout=5s" ];
|
2024-10-18 19:30:57 +01:00
|
|
|
};
|
|
|
|
fileSystems."/mnt/ssd2" = {
|
|
|
|
device = "/dev/disk/by-uuid/bc0d1423-5682-4150-906f-b1a154a316ea";
|
2024-08-29 12:09:20 +01:00
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
2024-07-20 15:06:21 +01:00
|
|
|
}
|