Remove nixos-module option
This commit is contained in:
parent
67d5bc9c6e
commit
abccab1c47
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
sslDhparam = "${config.security.dhparams.params."nginx".path}";
|
|
||||||
defaultListenAddresses = [ "0.0.0.0" "[::]" ];
|
defaultListenAddresses = [ "0.0.0.0" "[::]" ];
|
||||||
additionalModules = [ pkgs.nginxModules.fancyindex ];
|
additionalModules = [ pkgs.nginxModules.fancyindex ];
|
||||||
};
|
};
|
||||||
|
@ -62,12 +61,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.dhparams = {
|
|
||||||
enable = true;
|
|
||||||
stateful = true;
|
|
||||||
params."nginx".bits = 4096;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh.extraConfig = ''
|
services.openssh.extraConfig = ''
|
||||||
Match User ftpupload
|
Match User ftpupload
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
|
|
Loading…
Reference in New Issue
Block a user