tweak(cachix): restrict ssh substituter to in-network devices
This commit is contained in:
parent
19bee53519
commit
639f53b652
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ config, lib, ... }:
|
{ 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) [
|
((if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [
|
||||||
"ssh://infini-desktop"
|
"ssh://infini-desktop"
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue