diff options
author | Aaron Andersen <aaron@fosslib.net> | 2024-04-01 16:15:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 16:15:10 +0000 |
commit | c4719710f097f80338274abbb011a8c6223478d8 (patch) | |
tree | e07870b920bc3b5af0a9a1c2f3078cb25d50b630 /nixos/modules/services/network-filesystems | |
parent | b4690c34c03cef62553ae87c99ebb476387705ec (diff) | |
parent | ee2b899ff708ba8d94567c3cea8a0e823d262513 (diff) |
Merge pull request #298068 from posch/manage-gids
nixos/nfsd: settings for /etc/nfs.conf
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/nfsd.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/nixos/modules/services/network-filesystems/nfsd.nix b/nixos/modules/services/network-filesystems/nfsd.nix index c9e1cbcbbda4..656f1aa5a488 100644 --- a/nixos/modules/services/network-filesystems/nfsd.nix +++ b/nixos/modules/services/network-filesystems/nfsd.nix @@ -113,25 +113,6 @@ in config = mkIf cfg.enable { - services.nfs.extraConfig = '' - [nfsd] - threads=${toString cfg.nproc} - ${optionalString (cfg.hostName != null) "host=${cfg.hostName}"} - ${cfg.extraNfsdConfig} - - [mountd] - ${optionalString (cfg.mountdPort != null) "port=${toString cfg.mountdPort}"} - - [statd] - ${optionalString (cfg.statdPort != null) "port=${toString cfg.statdPort}"} - - [lockd] - ${optionalString (cfg.lockdPort != null) '' - port=${toString cfg.lockdPort} - udp-port=${toString cfg.lockdPort} - ''} - ''; - services.rpcbind.enable = true; boot.supportedFilesystems = [ "nfs" ]; # needed for statd and idmapd |