systemd belongs in configuration

This commit is contained in:
niten 2023-08-31 15:26:22 -07:00
parent 30f13841fb
commit a5c61fe696
1 changed files with 2 additions and 2 deletions

View File

@ -142,6 +142,8 @@ in {
configuration = {
boot.tmpOnTmpfs = true;
system.nssModules = lib.mkForce [ ];
systemd.services.nginx.serviceConfig.AmbientCapabilities =
lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
services.nginx = {
enable = true;
recommendedZstdSettings = true;
@ -228,8 +230,6 @@ in {
};
};
};
systemd.services.nginx.serviceConfig.AmbientCapabilities =
lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
};
service = {
useHostStore = true;