feat: add hass ip
This commit is contained in:
parent
e9efefd7d2
commit
d878a12f5b
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
shanMeta = self.nixosConfigurations.shan.config.modules.meta;
|
shanMeta = self.nixosConfigurations.shan.config.modules.meta;
|
||||||
|
homeAIp = "100.64.0.9";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.headscale.settings.policy.path = pkgs.writeTextFile {
|
services.headscale.settings.policy.path = pkgs.writeTextFile {
|
||||||
|
@ -42,7 +43,7 @@ in
|
||||||
[
|
[
|
||||||
"tag:guest"
|
"tag:guest"
|
||||||
]
|
]
|
||||||
[ "${shanMeta.tailscale.ip}:443" ]
|
[ "${shanMeta.tailscale.ip}:443" "${homeAIp}:80" ]
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue