Unverified Commit 448240f6 authored by Patrick Collins's avatar Patrick Collins Committed by GitHub
Browse files

nixos/nfsd: fix typo that breaks services.nfs.settings (#342200)

Currently will always fail when nfs.server.hostName is specified alongside nfs.settings.
parent f1901cf0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ let
    lib.optionalAttrs (cfg.server.nproc != null) {
      nfsd.threads = cfg.server.nproc;
    } // lib.optionalAttrs (cfg.server.hostName != null) {
      nfsd.host= cfg.hostName;
      nfsd.host = cfg.server.hostName;
    } // lib.optionalAttrs (cfg.server.mountdPort != null) {
      mountd.port = cfg.server.mountdPort;
    } // lib.optionalAttrs (cfg.server.statdPort != null) {