diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/surtr/http/default.nix | 1 | ||||
| -rw-r--r-- | hosts/vidhar/default.nix | 3 | ||||
| -rw-r--r-- | hosts/vidhar/network/default.nix | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/hosts/surtr/http/default.nix b/hosts/surtr/http/default.nix index 939a54fb..858ad31b 100644 --- a/hosts/surtr/http/default.nix +++ b/hosts/surtr/http/default.nix | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | 26 | ||
| 27 | client_body_temp_path /run/nginx-client-bodies; | 27 | client_body_temp_path /run/nginx-client-bodies; |
| 28 | ''; | 28 | ''; |
| 29 | additionalModules = with pkgs.nginxModules; [ dav pam ]; | ||
| 30 | }; | 29 | }; |
| 31 | systemd.services.nginx = { | 30 | systemd.services.nginx = { |
| 32 | preStart = lib.mkForce config.services.nginx.preStart; | 31 | preStart = lib.mkForce config.services.nginx.preStart; |
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 5c23dea2..7f780d9a 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
| @@ -101,6 +101,9 @@ with lib; | |||
| 101 | options = "--delete-older-than 30d"; | 101 | options = "--delete-older-than 30d"; |
| 102 | }; | 102 | }; |
| 103 | }; | 103 | }; |
| 104 | systemd.services."nix-daemon".serviceConfig = { | ||
| 105 | CPUQuota = "1200%"; | ||
| 106 | }; | ||
| 104 | 107 | ||
| 105 | powerManagement = { | 108 | powerManagement = { |
| 106 | enable = true; | 109 | enable = true; |
diff --git a/hosts/vidhar/network/default.nix b/hosts/vidhar/network/default.nix index 0cf17c0a..ddc5d78d 100644 --- a/hosts/vidhar/network/default.nix +++ b/hosts/vidhar/network/default.nix | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | { pkgs, ... }: | 1 | { pkgs, lib, ... }: |
| 2 | |||
| 3 | with lib; | ||
| 2 | 4 | ||
| 3 | { | 5 | { |
| 4 | imports = [ ./dsl.nix ./bifrost ./dhcp ]; | 6 | imports = [ ./dsl.nix ./bifrost ./dhcp ]; |
| @@ -57,7 +59,7 @@ | |||
| 57 | 59 | ||
| 58 | services.resolved.enable = false; | 60 | services.resolved.enable = false; |
| 59 | 61 | ||
| 60 | systemd.services."systemd-networkd-wait-online".enable = false; | 62 | systemd.services."systemd-networkd-wait-online".enable = mkForce false; |
| 61 | 63 | ||
| 62 | environment.etc."dnssec-trust-anchors.d/root.positive".source = "${pkgs.dns-root-data}/root.ds"; | 64 | environment.etc."dnssec-trust-anchors.d/root.positive".source = "${pkgs.dns-root-data}/root.ds"; |
| 63 | 65 | ||
