Add regular Nix store optimisation (#80)

This commit is contained in:
Patrick Stevens
2024-09-20 22:37:30 +01:00
committed by GitHub
parent fa88755137
commit d891582dfe

View File

@@ -98,6 +98,16 @@ in {
RunAtLoad = true;
};
};
nix-store-optimise = {
command = ''${pkgs.nix}/bin/nix store optimise'';
serviceConfig = {
KeepAlive = false;
UserName = "patrick";
StartInterval = 72000;
RunAtLoad = true;
};
};
};
# Auto upgrade nix package and the daemon service.