Commit 1f880dbd4b37

Vincent Demeester <vincent@sbr.pm>
2020-06-05 15:57:35
profiles/home: fix hosts with secrets…
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e2ede8c
Changed files (1)
modules
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" ];