move stuff into nixosModules
This commit is contained in:
parent
ecc65f071d
commit
26625c6952
7 changed files with 96 additions and 94 deletions
15
nixosModules/autoupdate.nix
Normal file
15
nixosModules/autoupdate.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
nix = {
|
||||
optimise.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue