summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-01-16 16:16:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2018-01-16 16:16:09 +0100
commite7b106a6422bdbf5874b2faea1caa1ad56a80301 (patch)
tree69f6b5c55054e18a709c8e901f4bc66be739e811
parentb0eb2dcba41dcf8462623c90e70ff9365ae3bc56 (diff)
downloadnixos-e7b106a6422bdbf5874b2faea1caa1ad56a80301.tar
nixos-e7b106a6422bdbf5874b2faea1caa1ad56a80301.tar.gz
nixos-e7b106a6422bdbf5874b2faea1caa1ad56a80301.tar.bz2
nixos-e7b106a6422bdbf5874b2faea1caa1ad56a80301.tar.xz
nixos-e7b106a6422bdbf5874b2faea1caa1ad56a80301.zip
Memory limit on nix-daemon
-rw-r--r--hel.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index f524dd44..e919426f 100644
--- a/hel.nix
+++ b/hel.nix
@@ -561,5 +561,11 @@
561 fileSystems = [ "/" ]; 561 fileSystems = [ "/" ];
562 interval = "weekly"; 562 interval = "weekly";
563 }; 563 };
564
565 systemd.services."nix-daemon".serviceConfig = {
566 MemoryAccounting = true;
567 MemoryHigh = "75%";
568 MemoryMax = "80%";
569 };
564} 570}
565 571