This commit is contained in:
Lilith 2024-06-08 21:41:01 +02:00
parent bb7f4afae3
commit 1d20b998e2
Signed by: lilith
GPG key ID: 8712A0F317C37175
2 changed files with 14 additions and 0 deletions

View file

@ -44,6 +44,7 @@ in {
./btrfs.nix ./btrfs.nix
./fonts.nix ./fonts.nix
./nix.nix ./nix.nix
./nfs.nix
./users.nix ./users.nix
./sops.nix ./sops.nix
./ssh.nix ./ssh.nix

13
system/nfs.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }: {
filesystems."/mnt/nas" = {
device = "nixserver:/share";
fsType = "nfs";
options = [
"nfsvers=4.2"
"noauto"
"x-systemd.automount"
"x-systemd.idle-timeout=600"
"_netdev"
];
};
}