nfs
This commit is contained in:
parent
bb7f4afae3
commit
1d20b998e2
2 changed files with 14 additions and 0 deletions
|
|
@ -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
13
system/nfs.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue