diff options
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/default.nix | 3 | ||||
-rw-r--r-- | hosts/vidhar/network/default.nix | 6 |
2 files changed, 7 insertions, 2 deletions
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 | ||