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

This commit is contained in:
Infinidoge 2023-12-01 11:00:39 -05:00
parent 20828afda9
commit 510fc4ae67
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" && config.info.loc.home)
substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP")
((if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [
"ssh://infini-desktop"
]);