tweak(cachix): exclude Infini-DESKTOP from ssh
This commit is contained in:
parent
d5e1415b1d
commit
1cb8746d0a
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
nix.settings.substituters = (if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [
|
nix.settings.substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP")
|
||||||
"ssh://server.doge-inc.net"
|
((if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [
|
||||||
];
|
"ssh://server.doge-inc.net"
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue