From 734099e0999b8f31774100fb356ebbcf0d1e61d3 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Fri, 28 Feb 2025 08:44:46 +0100 Subject: nixos: nix: autoUpgrade: check substituters up --- modules/nixos/personal/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index 9e596ca..77b4807 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -31,7 +31,7 @@ in { }; checkHosts = lib.mkOption { type = with lib.types; listOf str; - default = ["cache.nixos.org"]; + default = config.nix.settings.substituters; }; }; flake = lib.mkOption { @@ -197,7 +197,7 @@ in { }; }; - personal.nix.autoUpgrade.checkHosts = ["hephaistos.${domain}"]; + personal.nix.autoUpgrade.checkHosts = lib.mkDefault ["hephaistos.${domain}"]; programs.ssh = { extraConfig = lib.optionalString enable '' -- cgit v1.2.3