diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-02-28 08:44:46 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-02-28 08:44:46 +0100 |
| commit | 734099e0999b8f31774100fb356ebbcf0d1e61d3 (patch) | |
| tree | f35c4b6e4a5c53887b2b0f73451e6e61e5a84dfa | |
| parent | a2ff80d2e83170d5a98775cf60d032cfaae7d590 (diff) | |
nixos: nix: autoUpgrade: check substituters up
| -rw-r--r-- | modules/nixos/personal/nix.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 '' |
