vikunja was very overkill, i will look for something simpler

This commit is contained in:
twoneis 2025-05-15 01:29:00 +02:00
parent d41e61f0ed
commit e529c90200
4 changed files with 0 additions and 61 deletions

View file

@ -19,14 +19,6 @@ in {
domain = email-domain; domain = email-domain;
}; };
vikunja = {
enable = true;
domain = {
full = "todo.${web-domain}";
base = web-domain;
};
};
website = { website = {
enable = true; enable = true;
domain = { domain = {

View file

@ -21,7 +21,6 @@ in {
./secureboot ./secureboot
./ssh ./ssh
./utils ./utils
./vikunja
./vm ./vm
./website ./website
./yubikey ./yubikey

View file

@ -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;
};
};
};
}

View file

@ -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 = { website = {
enable = mkOption { enable = mkOption {
type = bool; type = bool;