revert: caches/ssh: enable Infini-DESKTOP cache outside of home

This reverts commit 510fc4ae67.
This commit is contained in:
Infinidoge 2023-12-09 02:31:02 -05:00
parent a0e3585ad9
commit cd13971a47
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -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"
]);