hosts: add autoupdate with git flake
This commit is contained in:
parent
f3388b4dbf
commit
db3a1d9ee9
@ -190,10 +190,17 @@
|
||||
};
|
||||
|
||||
system = { # NixOS settings
|
||||
# autoUpgrade = { # Allow auto update
|
||||
# enable = true;
|
||||
autoUpgrade = { # Allow auto update
|
||||
enable = true;
|
||||
flake = "git+https://git.kabtop.de/Kabbone/nixos-config";
|
||||
randomizedDelaySec = "5m";
|
||||
allowReboot = true;
|
||||
reboot.Window = {
|
||||
lower = "02:00";
|
||||
upper = "05:00";
|
||||
};
|
||||
# channel = "https://nixos.org/channels/nixos-unstable";
|
||||
# };
|
||||
};
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}
|
||||
|
@ -138,10 +138,16 @@
|
||||
};
|
||||
|
||||
system = { # NixOS settings
|
||||
# autoUpgrade = { # Allow auto update
|
||||
# enable = true;
|
||||
# channel = "https://nixos.org/channels/nixos-unstable";
|
||||
# };
|
||||
stateVersion = "22.05";
|
||||
autoUpgrade = { # Allow auto update
|
||||
enable = true;
|
||||
flake = "git+https://git.kabtop.de/Kabbone/nixos-config";
|
||||
randomizedDelaySec = "5m";
|
||||
allowReboot = true;
|
||||
reboot.Window = {
|
||||
lower = "02:00";
|
||||
upper = "05:00";
|
||||
};
|
||||
};
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user