From cd13971a477af85f7b8ca6b7198b98fb686b0875 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 9 Dec 2023 02:31:02 -0500 Subject: [PATCH] revert: caches/ssh: enable Infini-DESKTOP cache outside of home This reverts commit 510fc4ae671b020326ebe9bf0a7c612ba0e4fe6d. --- modules/global/caches/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/global/caches/ssh.nix b/modules/global/caches/ssh.nix index 98c8129..50022d5 100644 --- a/modules/global/caches/ssh.nix +++ b/modules/global/caches/ssh.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { nix.settings = { - substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP") + 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" ]);