added local network and loopback addresses to nfs mount
This commit is contained in:
parent
6d4cfec975
commit
2ea0592c64
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
lib.lists.imap1 (
|
lib.lists.imap1 (
|
||||||
i: directory: "${directory._directory} 100.64.0.0/10(rw,fsid=${toString i},nohide,insecure,no_subtree_check)"
|
i: directory: let
|
||||||
|
options = "(rw,fsid=${toString i},nohide,insecure,no_subtree_check)";
|
||||||
|
in "${directory._directory} 100.64.0.0/10${options} 192.168.0.0/24${options} 127.0.0.1${options}"
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
builtins.filter (
|
builtins.filter (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue