diff --git a/data/network.nix b/data/network.nix index c9b285b..22ddf42 100644 --- a/data/network.nix +++ b/data/network.nix @@ -82,6 +82,23 @@ rec { }; domainOverride = "nudelerde.de"; }; + "wekan" = { + ip = ips.pi; + reverse_proxy = { + port = 8081; + ssl = true; + allowExternConnections = true; + listen = [ + { + port = 80; + } + { + port = 443; + ssl = true; + }]; + }; + domainOverride = "wekan.nudelerde.de"; + }; }; _serviceNames = (builtins.attrNames services); diff --git a/services/default.nix b/services/default.nix index fc8cc5b..39acf23 100644 --- a/services/default.nix +++ b/services/default.nix @@ -9,5 +9,6 @@ ./unbound.nix ./autossh.nix ./continuwuity.nix + ./wekan.nix ]; } diff --git a/services/wekan.nix b/services/wekan.nix new file mode 100644 index 0000000..88cf091 --- /dev/null +++ b/services/wekan.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +let + net = import ../data/network.nix; +in +{ + services.vikunja = { + enable = true; + frontendHostname = "wekan"; + frontendScheme = "http"; + port = 8081; + }; +}