homeassistant: add domain forwarding
This commit is contained in:
parent
7a83c2282e
commit
7f328e837f
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue