make nix flake check work

This commit is contained in:
Kopatz
2024-11-26 16:15:19 +01:00
parent e265140d28
commit aa6b1d8cd2
9 changed files with 61 additions and 374 deletions

View File

@@ -29,7 +29,11 @@ in {
};
systemd.services.kop-fhcalendar = let
radicale = config.services.radicale.settings.storage.filesystem_folder;
radicale = if lib.versionOlder lib.version "25.05" then
(builtins.elemAt
config.services.radicale.settings.storage.filesystem_folder 0)
else
config.services.radicale.settings.storage.filesystem_folder;
# not reproducible
working =
"${radicale}/collection-root/kopatz/b6d2c446-8109-714a-397f-1f35d3136639";