nix/module/common/AutoUpdate.nix

11 lines
251 B
Nix

{ pkgs, inputs, lib, config, ... }: {
system.autoUpgrade = {
enable = true;
allowReboot = false;
dates = "daily";
flake = "git+https://git.voronind.com/voronind/nixos.git";
operation = "boot";
persistent = true;
};
}