1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(nextcloud): sync fysi documents

This commit is contained in:
2022-10-25 09:18:08 +02:00
parent 797d091643
commit 85f3722ba5

View File

@@ -61,7 +61,8 @@ in {
};
in ''
mkdir -p ${lib.escapeShellArg kieran.target}
${pkgs.nextcloud-client}/bin/nextcloudcmd --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /Notes ${lib.escapeShellArg kieran.target} ${kieran.endpoint}
${pkgs.nextcloud-client}/bin/nextcloudcmd --non-interactive --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /Notes ${lib.escapeShellArg kieran.target} ${kieran.endpoint}
${pkgs.nextcloud-client}/bin/nextcloudcmd --non-interactive --user ${kieran.user} --password ${lib.escapeShellArg kieran.password} --path /kmein ${lib.escapeShellArg "${config.users.users.me.home}/cloud/Seafile/Documents/Akten/FYSI/Lohn"} ${kieran.endpoint}
'';
serviceConfig = {
Type = "oneshot";