Fix typo in nixos/modules/tasks/filesystems/nfs.nix.
statd should be cfg.statd.
This commit is contained in:
parent
c76da480b8
commit
528ebb4e5e
@ -90,7 +90,7 @@ in
|
|||||||
serviceConfig.Type = "forking";
|
serviceConfig.Type = "forking";
|
||||||
serviceConfig.ExecStart = ''
|
serviceConfig.ExecStart = ''
|
||||||
@${pkgs.nfs-utils}/sbin/rpc.statd rpc.statd --no-notify \
|
@${pkgs.nfs-utils}/sbin/rpc.statd rpc.statd --no-notify \
|
||||||
${if cfg.statdPort != null then "-p ${toString statdPort}" else ""}
|
${if cfg.statdPort != null then "-p ${toString cfg.statdPort}" else ""}
|
||||||
'';
|
'';
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user