Files
infra/modules/clan/vikunja/default.nix
kurogeek 79ea7752a2 mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/yggdrasil/default.nix
2026-01-15 10:24:11 +07:00

35 lines
897 B
Nix

{ ... }:
{
_class = "clan.service";
manifest.name = "vikunja";
manifest.description = "The to-do app to organize your life.";
manifest.readme = "The to-do app to organize your life.";
manifest.categories = [ "System" ];
roles.default = {
description = "a default server role";
perInstance.nixosModule =
{
lib,
config,
...
}:
{
clan.core.state.vikunja.folders = [
config.services.vikunja.settings.files.basepath
]
++ (
if config.services.vikunja.settings.database.type == "sqlite" then
[ config.services.vikunja.settings.database.path ]
else
[ ]
);
services.vikunja = {
enable = lib.mkDefault true;
frontendScheme = lib.mkDefault "http";
frontendHostname = lib.mkDefault "localhost";
};
};
};
}