17 lines
306 B
Nix
17 lines
306 B
Nix
{ inputs, ... }: {
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
flake = inputs.self.outPath;
|
|
flags = [
|
|
"--update-input"
|
|
"nixpkgs"
|
|
"--print-build-logs"
|
|
];
|
|
randomizedDelaySec = "45min";
|
|
};
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 14d";
|
|
};
|
|
}
|