From 802d7b1608634e0bda5a1bccf43e93a1a1fb8d04 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Tue, 28 Jan 2025 19:03:56 +0100 Subject: nixos: upgrade: connectivity check: firecast -> quad9 --- modules/nixos/personal/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/nixos') diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index a134b7d..e3f7395 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -57,7 +57,7 @@ in { (lib.mkIf cfg.autoUpgrade.enable { # upgrading flake-update = lib.mkIf (cfg.flake != null && cfg.autoUpgrade.autoUpdateInputs != []) { - preStart = "${pkgs.host}/bin/host firecat53.net"; # Check network connectivity + preStart = "${pkgs.host}/bin/host 9.9.9.9"; # Check network connectivity unitConfig = { Description = "Update flake inputs"; StartLimitIntervalSec = 300; @@ -74,7 +74,7 @@ in { personal.monitor = true; }; nixos-upgrade = { - preStart = "${pkgs.host}/bin/host firecat53.net"; # Check network connectivity + preStart = "${pkgs.host}/bin/host 9.9.9.9"; # Check network connectivity after = ["flake-update.service"]; wants = ["flake-update.service"]; personal.monitor = true; -- cgit v1.2.3