Auto-update systems

This commit is contained in:
Charlotte Van Petegem 2022-01-11 23:53:39 +01:00
parent a5ce04a70d
commit ebf6fbc627
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -34,7 +34,15 @@
config = {
home-manager.useGlobalPkgs = true;
system.stateVersion = config.chvp.stateVersion;
system = {
stateVersion = config.chvp.stateVersion;
autoUpgrade = {
enable = true;
flake = "github:chvp/nixos-config";
dates = "01/4:00";
randomizedDelaySec = "10min";
};
};
home-manager.users = {
charlotte = { ... }: {
home.stateVersion = config.chvp.stateVersion;