summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix4
-rw-r--r--hosts/vidhar/default.nix11
2 files changed, 10 insertions, 5 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 4d83ee11..bdd6653a 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -271,8 +271,8 @@
271 271
272 nix = { 272 nix = {
273 autoOptimiseStore = true; 273 autoOptimiseStore = true;
274 daemonNiceLevel = 10; 274 daemonCPUSchedPolicy = "idle";
275 daemonIONiceLevel = 3; 275 daemonIOSchedClass = "idle";
276 276
277 buildServers.vidhar = { 277 buildServers.vidhar = {
278 address = "vidhar.yggdrasil"; 278 address = "vidhar.yggdrasil";
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 1d8f4c3c..0bad0f8c 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -254,9 +254,14 @@
254 Defaults lecture = never 254 Defaults lecture = never
255 ''; 255 '';
256 256
257 nix.gc = { 257 nix = {
258 automatic = true; 258 daemonCPUSchedPolicy = "batch";
259 options = "--delete-older-than 30d"; 259 daemonIOSchedClass = "idle";
260
261 gc = {
262 automatic = true;
263 options = "--delete-older-than 30d";
264 };
260 }; 265 };
261 266
262 powerManagement = { 267 powerManagement = {