mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-07 07:28:40 +00:00
Add regular Nix store optimisation (#80)
This commit is contained in:
@@ -98,6 +98,16 @@ in {
|
|||||||
RunAtLoad = true;
|
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.
|
# Auto upgrade nix package and the daemon service.
|
||||||
|
Reference in New Issue
Block a user