23 lines
491 B
Nix
23 lines
491 B
Nix
{ config, inputs, ... }:
|
|
|
|
{
|
|
config = {
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
allowReboot = false;
|
|
flake = inputs.self.outPath;
|
|
flags = [ "--print-build-logs" ];
|
|
dates = "21:00";
|
|
randomizedDelaySec = "45min";
|
|
};
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
nix.settings.auto-optimise-store = true;
|
|
};
|
|
} |