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, ... }:
|
||||
{
|
||||
nix.settings.substituters = (if config.info.loc.home then (lib.mkOrder 300) else lib.mkAfter) [
|
||||
"ssh://server.doge-inc.net"
|
||||
];
|
||||
nix.settings.substituters = lib.mkIf (config.networking.hostName != "Infini-DESKTOP")
|
||||
((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