all repos — nixfiles @ b201b5b9b81c528e78c625119954f5c452240113

System and user configuration, managed by nix and home-manager

smrk: try to limit nix-daemon memory usage

Alin
commit

b201b5b9b81c528e78c625119954f5c452240113

parent

58c280f12691b81f2d7bc00216d2600ce96fe8cf

1 file changed, 5 insertions(+), 1 deletion(-)

changed files
M system/hosts/smrk.nix → system/hosts/smrk.nix
@@ -50,8 +50,12 @@ networking.hostName = hostname;
nix = { settings = { - max-jobs = 2; + max-jobs = 1; }; + }; + systemd.services.nix-daemon.serviceConfig = { + MemoryHigh = "25%"; + MemoryMax = "30%"; }; services.searchix.settings.importer = {