From 639f53b6520c10f3454339e31bc367f14f23c5ed Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 14 Jun 2022 23:27:47 -0400 Subject: [PATCH] tweak(cachix): restrict ssh substituter to in-network devices --- modules/devos/cachix/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devos/cachix/ssh.nix b/modules/devos/cachix/ssh.nix index b66a336..b29d79e 100644 --- a/modules/devos/cachix/ssh.nix +++ b/modules/devos/cachix/ssh.nix @@ -1,6 +1,6 @@ { config, lib, ... }: { - nix.settings.substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP") + nix.settings.substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP" && config.info.loc.home) ((if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [ "ssh://infini-desktop" ]);