homeassistant: add domain forwarding

This commit is contained in:
Christoph Hollizeck 2025-03-27 23:22:51 +01:00
parent 7a83c2282e
commit 7f328e837f

View file

@ -62,16 +62,26 @@ in
};
};
"${domainName}" = {
"ha.${domainName}" = {
forceSSL = cfg.enableAcme;
useACMEHost = mkIf cfg.enableAcme domainName;
locations."/" = {
root = /var/www/website;
index = "index.html";
# tailscale ip
proxyPass = "http://100.86.23.74:8123";
};
};
# "${domainName}" = {
# forceSSL = cfg.enableAcme;
# useACMEHost = mkIf cfg.enableAcme domainName;
# locations."/" = {
# root = /var/www/website;
# index = "index.html";
# };
# };
"_" = {
forceSSL = cfg.enableAcme;
useACMEHost = mkIf cfg.enableAcme domainName;
@ -208,11 +218,11 @@ in
];
};
snowfallorg.users.${config.${namespace}.user.name}.home.config = {
programs.fish.shellInit = ''
eval $(op signin)
'';
};
# snowfallorg.users.${config.${namespace}.user.name}.home.config = {
# programs.fish.shellInit = ''
# eval $(op signin)
# '';
# };
system.stateVersion = "24.11";
}