fix lldap backup

closes #319
This commit is contained in:
ibizaman 2024-10-24 15:12:15 +02:00
parent b23ce56955
commit c2238312ed

View file

@ -112,9 +112,12 @@ in
''; '';
readOnly = true; readOnly = true;
default = { default = {
user = "lldap"; # TODO: is there a workaround that avoid needing to use root?
# root because otherwise we cannot access the private StateDiretory
user = "root";
# /private because the systemd service uses DynamicUser=true
sourceDirectories = [ sourceDirectories = [
"/var/lib/lldap" "/var/lib/private/lldap"
]; ];
}; };
}; };