feat(access): taskchampion

This commit is contained in:
arcnmx 2024-09-20 22:22:24 -07:00
parent e6a890915f
commit ab318c0125
6 changed files with 69 additions and 0 deletions

View file

@ -48,6 +48,7 @@ in {
nixos.access.nextjs-ollama
nixos.access.openwebrx
nixos.access.deluge
nixos.access.taskchampion
nixos.access.home-assistant
nixos.access.zigbee2mqtt
nixos.access.grocy
@ -132,6 +133,14 @@ in {
virtualHosts.vaultwarden'local.allServerNames
];
};
task = {
inherit (nginx) group;
domain = virtualHosts.taskchampion.serverName;
extraDomainNames = mkMerge [
virtualHosts.taskchampion.otherServerNames
virtualHosts.taskchampion'local.allServerNames
];
};
home = {
inherit (nginx) group;
domain = virtualHosts.home-assistant.serverName;
@ -380,6 +389,11 @@ in {
local.denyGlobal = true;
ssl.cert.enable = true;
};
taskchampion = {
# not the real task record-holder, so don't respond globally..
local.denyGlobal = true;
ssl.cert.enable = true;
};
home-assistant = {
# not the real hass record-holder, so don't respond globally..
local.denyGlobal = true;

View file

@ -19,6 +19,7 @@ in {
(nginx.virtualHosts.grocy.proxied.cloudflared.getIngress {})
(nginx.virtualHosts.barcodebuddy.proxied.cloudflared.getIngress {})
(nginx.virtualHosts.home-assistant.proxied.cloudflared.getIngress {})
(nginx.virtualHosts.taskchampion.proxied.cloudflared.getIngress {})
];
};
};

View file

@ -16,6 +16,7 @@ in {
nixos.postgres
nixos.nginx
nixos.adb
nixos.access.taskchampion
nixos.access.home-assistant
nixos.access.zigbee2mqtt
nixos.access.grocy
@ -39,6 +40,7 @@ in {
proxied.enable = "cloudflared";
vouch.enable = mkIf hassVouch true;
};
taskchampion.proxied.enable = "cloudflared";
};
};
services.home-assistant = {