mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-05 22:48:39 +00:00
Add regular Nix store optimisation (#80)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user