Correct option path.

This commit is contained in:
Joseph Hanson 2024-07-13 07:24:57 -05:00
parent f3e6224abe
commit 6d78b94889
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,7 +1,4 @@
{ lib
, config
, ...
}:
{ lib, config, ... }:
let
cfg = config.mySystem.system.nfs;
in
@ -15,8 +12,8 @@ in
};
config = lib.mkIf cfg.enable {
system.nfs.server.enable = true;
system.nfs.server.exports = cfg.exports;
services.nfs.server.enable = true;
services.nfs.server.exports = cfg.exports;
networking.firewall.allowedTCPPorts = [
2049
];