16 lines
289 B
Nix
16 lines
289 B
Nix
|
{config, ...}: let
|
||
|
flakeURL = config.registry.nixos.to.url;
|
||
|
in {
|
||
|
system.autoUpgrade = {
|
||
|
enable = true;
|
||
|
flake = "git+${flakeURL}";
|
||
|
flags = [
|
||
|
"--update-input"
|
||
|
"nixpkgs"
|
||
|
"--no-write-lock-file"
|
||
|
"-L" # print build logs
|
||
|
];
|
||
|
dates = "02:00";
|
||
|
};
|
||
|
}
|