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