feat: add hass ip

This commit is contained in:
nydragon 2025-02-10 15:30:10 +01:00
parent e9efefd7d2
commit d878a12f5b
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE

View file

@ -16,6 +16,7 @@ let
};
shanMeta = self.nixosConfigurations.shan.config.modules.meta;
homeAIp = "100.64.0.9";
in
{
services.headscale.settings.policy.path = pkgs.writeTextFile {
@ -42,7 +43,7 @@ in
[
"tag:guest"
]
[ "${shanMeta.tailscale.ip}:443" ]
[ "${shanMeta.tailscale.ip}:443" "${homeAIp}:80" ]
)
];