nixos/mnt.nix

35 lines
816 B
Nix
Raw Normal View History

2024-06-05 23:04:40 +01:00
{ pkgs, ... }:
{
2024-08-29 12:09:20 +01:00
services.rpcbind.enable = true; # needed for NFS
systemd.mounts = [{
type = "nfs";
mountConfig = {
Options = "noatime";
};
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";
}];
systemd.automounts = [{
wantedBy = [ "multi-user.target" ];
automountConfig = {
TimeoutIdleSec = "600";
};
where = "/mnt/BigNAS";
}];
fileSystems."/mnt/NV1" = {
2024-10-18 19:30:57 +01:00
device = "/dev/disk/by-uuid/a41cc08d-10f2-40dd-b76a-976764a50cea";
fsType = "btrfs";
};
fileSystems."/mnt/ssd2" = {
device = "/dev/disk/by-uuid/bc0d1423-5682-4150-906f-b1a154a316ea";
2024-08-29 12:09:20 +01:00
fsType = "btrfs";
};
2024-10-18 19:30:57 +01:00
# fileSystems."/mnt/ntfs" = {
# device = "/dev/disk/by-uuid/c51b755c-24d3-11e6-a186-408d5c1ea148";
# fsType = "ntfs-3g";
# options = ["rw""uid=1000"];
# };
2024-07-20 15:06:21 +01:00
}