make all servers auto-upgrade
1 file changed, 0 insertions(+), 27 deletions(-)
changed files
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -110,32 +110,6 @@ } ]; }; - systemd.services.update-nixfiles = { - startAt = config.system.autoUpgrade.dates; - wantedBy = [ "nixos-upgrade.service" ]; - path = with pkgs; [ - openssh - nix - config.git.package - ]; - serviceConfig = { - Type = "oneshot"; - User = "alin"; - WorkingDirectory = "${config.users.users.alin.home}/projects/alin.ovh/nixfiles"; - }; - script = '' - git checkout -- flake.lock - git pull --recurse-submodules=yes - nix flake update - ''; - }; - system.autoUpgrade = { - dates = "02:10"; - randomizedDelaySec = "59 min"; - allowReboot = true; - flake = "${config.systemd.services.update-nixfiles.serviceConfig.WorkingDirectory}?submodules=1"; - }; - networking = { hostName = hostname; inherit domain;@@ -213,7 +187,6 @@ services.cloud-init.network.enable = false; services.resolved = { enable = true; settings.Resolve = { - LLMNR = false; DNSSEC = true; }; };