NFS: Difference between revisions
imported>Allopsychic21 adds systemd.mounts and systemd.automounts method of configuration |
imported>Allopsychic21 forgot to add rpcbind service |
||
| Line 138: | Line 138: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
{ | { | ||
services.rpcbind.enable = true; # needed for NFS | |||
systemd.mounts = { | systemd.mounts = { | ||
type = "nfs"; | type = "nfs"; | ||
| Line 161: | Line 162: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
{ | { | ||
services.rpcbind.enable = true; # needed for NFS | |||
systemd.mounts = let commonMountOptions = { | systemd.mounts = let commonMountOptions = { | ||
type = "nfs"; | type = "nfs"; | ||