Correct option path.
This commit is contained in:
parent
f3e6224abe
commit
6d78b94889
1 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,4 @@
|
||||||
{ lib
|
{ lib, config, ... }:
|
||||||
, config
|
|
||||||
, ...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
cfg = config.mySystem.system.nfs;
|
cfg = config.mySystem.system.nfs;
|
||||||
in
|
in
|
||||||
|
@ -15,8 +12,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
system.nfs.server.enable = true;
|
services.nfs.server.enable = true;
|
||||||
system.nfs.server.exports = cfg.exports;
|
services.nfs.server.exports = cfg.exports;
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
2049
|
2049
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue