spread nix store optimiser over time
This commit is contained in:
parent
6625e9c1f3
commit
568c968ca8
11 changed files with 18 additions and 13 deletions
|
|
@ -1,13 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
randomHour = import ../lib/randomHour.nix { inherit lib; };
|
||||
in
|
||||
{
|
||||
nix = {
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = [ "${toString randomHour config.networking.hostName}:00" ];
|
||||
};
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue