From 6d78b94889b585d8af315d5f8f00792828a4a34b Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 13 Jul 2024 07:24:57 -0500 Subject: [PATCH] Correct option path. --- nixos/modules/nixos/system/nfs/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos/modules/nixos/system/nfs/default.nix b/nixos/modules/nixos/system/nfs/default.nix index bf80805..b5453b6 100644 --- a/nixos/modules/nixos/system/nfs/default.nix +++ b/nixos/modules/nixos/system/nfs/default.nix @@ -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 ];