vikunja service backup folders

This commit is contained in:
2025-07-30 15:38:07 +07:00
parent d606f9e88e
commit bfd0dd1a41

View File

@@ -9,9 +9,19 @@
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";