commit 1f880dbd4b370b9cc007a61f8f137cf497308cb2
parent e2ede8c0fd91ecdd5505eeac45ae867f6bd51610
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 5 Jun 2020 15:57:35 +0200
profiles/home: fix hosts with secrets…
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/profiles/home.nixos.nix b/modules/profiles/home.nixos.nix
@@ -15,7 +15,7 @@ in
boot.kernelParams = [ "nfs.nfs4_disable_idmapping=0" "nfsd.nfs4_disable_idmapping=0" ];
networking = {
domain = "home";
- hosts = with machines; {
+ hosts = with machines; mkIf secretCondition {
"${home.ips.honshu}" = [ "honshu.home" ];
"${wireguard.ips.honshu}" = [ "honshu.vpn" ];
"${home.ips.shikoku}" = [ "shikoku.home" ];