Make driftwood autoupdate

This commit is contained in:
Nathan McCarty 2025-04-16 19:30:09 -04:00
parent 023771c1d1
commit 9d6200280e
2 changed files with 14 additions and 0 deletions

View file

@ -31,6 +31,7 @@
imports = [ imports = [
# Our modules # Our modules
(import ../../modules/base.nix {inherit inputs;}) (import ../../modules/base.nix {inherit inputs;})
(import ../../modules/autoupdate.nix)
(import ./configuration.nix) (import ./configuration.nix)
(import ./hardware.nix) (import ./hardware.nix)
(import ../../modules/user.nix { (import ../../modules/user.nix {

View file

@ -0,0 +1,13 @@
{
config,
lib,
pkgs,
...
}: {
system.autoUpgrade = {
enable = true;
flake = "git+https://git.stranger.systems/Nix/System.git";
dates = "02:00";
randomizedDelaySec = "2h";
};
}