improve networking templating and configuration
This commit is contained in:
parent
63688f3068
commit
c58d6c89b3
8 changed files with 111 additions and 64 deletions
|
@ -19,7 +19,7 @@ let
|
|||
nfsExports = lib.strings.concatLines (
|
||||
builtins.map
|
||||
(share:
|
||||
"${cfg.nfsRoot}${share} 192.168.30.0/24(rw,sync,no_subtree_check,no_root_squash)"
|
||||
"${cfg.nfsRoot}${share} 192.168.30.0/${config.lab.networking.dmzIPv4PrefixLength}(rw,sync,no_subtree_check,no_root_squash)"
|
||||
)
|
||||
nfsShares
|
||||
);
|
||||
|
|
Reference in a new issue