diff --git a/devices/ellaca/options.nix b/devices/ellaca/options.nix index 148a31e..c0b4dba 100644 --- a/devices/ellaca/options.nix +++ b/devices/ellaca/options.nix @@ -19,14 +19,6 @@ in { domain = email-domain; }; - vikunja = { - enable = true; - domain = { - full = "todo.${web-domain}"; - base = web-domain; - }; - }; - website = { enable = true; domain = { diff --git a/modules/default.nix b/modules/default.nix index c389df2..6c54ec4 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -21,7 +21,6 @@ in { ./secureboot ./ssh ./utils - ./vikunja ./vm ./website ./yubikey diff --git a/modules/vikunja/default.nix b/modules/vikunja/default.nix deleted file mode 100644 index 23f23d8..0000000 --- a/modules/vikunja/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit (lib) mkIf; - cfg = config.conf.vikunja; -in - mkIf cfg.enable { - services.nginx.virtualHosts.${cfg.domain.full} = { - forceSSL = true; - useACMEHost = cfg.domain.base; - locations = { - "/" = { - proxyPass = "http://localhost:${toString cfg.port}"; - }; - }; - }; - - services.vikunja = { - enable = true; - frontendScheme = "http"; - frontendHostname = cfg.domain.full; - port = cfg.port; - settings = { - service = { - enableregistration = false; - }; - }; - }; - } diff --git a/options.nix b/options.nix index 46aceb8..adb45b5 100644 --- a/options.nix +++ b/options.nix @@ -149,27 +149,6 @@ in { }; }; - vikunja = { - enable = mkOption { - type = bool; - default = false; - }; - domain = { - base = mkOption { - type = nullOr str; - default = null; - }; - full = mkOption { - type = nullOr str; - default = null; - }; - }; - port = mkOption { - type = port; - default = 7070; - }; - }; - website = { enable = mkOption { type = bool;