all repos — nixfiles @ ba08cd95da1d9198b898678f5d1159f825baaf14

System and user configuration, managed by nix and home-manager

make all servers auto-upgrade

Alin
commit

ba08cd95da1d9198b898678f5d1159f825baaf14

parent

6c1a3d2a6e370b956d2397a5302058bed3a0cf71

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; }; };