Add autoupdate.

This commit is contained in:
rope 2026-05-19 17:10:17 +01:00
parent d66558efae
commit ced2ff65dc

View file

@ -36,6 +36,14 @@
# unsigned store paths sent by the build client). # unsigned store paths sent by the build client).
nix.settings.trusted-users = [ "root" "fred" ]; nix.settings.trusted-users = [ "root" "fred" ];
# Automatic daily system updates
system.autoUpgrade = {
enable = true;
flake = "git+https://forg.gregersen.it/rope/nixos";
dates = "04:15";
allowReboot = true;
};
# Open firewall for SSH # Open firewall for SSH
networking.firewall.allowedTCPPorts = [ 22 11434 ]; networking.firewall.allowedTCPPorts = [ 22 11434 ];
services.openssh = { services.openssh = {