diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-20 20:51:48 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-20 20:51:48 +0100 |
commit | 164204149c458378a0f9126f629c043e7cb7c3f2 (patch) | |
tree | c5ea6d68101c581a93fcaf7e1c358b05797f02b4 /hosts/vidhar | |
parent | 872b0abaf557048407b5b9c0ef853895c1ede87d (diff) | |
download | nixos-164204149c458378a0f9126f629c043e7cb7c3f2.tar nixos-164204149c458378a0f9126f629c043e7cb7c3f2.tar.gz nixos-164204149c458378a0f9126f629c043e7cb7c3f2.tar.bz2 nixos-164204149c458378a0f9126f629c043e7cb7c3f2.tar.xz nixos-164204149c458378a0f9126f629c043e7cb7c3f2.zip |
bump
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 | ||