systemd belongs in configuration
This commit is contained in:
parent
30f13841fb
commit
a5c61fe696
|
@ -142,6 +142,8 @@ in {
|
||||||
configuration = {
|
configuration = {
|
||||||
boot.tmpOnTmpfs = true;
|
boot.tmpOnTmpfs = true;
|
||||||
system.nssModules = lib.mkForce [ ];
|
system.nssModules = lib.mkForce [ ];
|
||||||
|
systemd.services.nginx.serviceConfig.AmbientCapabilities =
|
||||||
|
lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedZstdSettings = true;
|
recommendedZstdSettings = true;
|
||||||
|
@ -228,8 +230,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.nginx.serviceConfig.AmbientCapabilities =
|
|
||||||
lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
|
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
useHostStore = true;
|
useHostStore = true;
|
||||||
|
|
Loading…
Reference in New Issue