Change nextcloud sync target

This commit is contained in:
SebastianStork 2024-10-24 19:16:33 +02:00
parent 46fd92149f
commit 4b0508ee94
2 changed files with 6 additions and 6 deletions

View file

@ -6,12 +6,12 @@
}: }:
let let
paths = [ paths = [
"Documents"
"Downloads" "Downloads"
"Pictures"
"Music"
"Videos"
"Projects" "Projects"
"Documents/h_da"
"Documents/vault"
"Pictures/Wallpapers"
"Pictures/Screenshots"
]; ];
excludeList = pkgs.concatText "nextcloud-sync-exclude" [ excludeList = pkgs.concatText "nextcloud-sync-exclude" [
"${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst" "${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst"
@ -23,7 +23,7 @@ let
lib.concatStringsSep " " [ lib.concatStringsSep " " [
"--user seb" "--user seb"
"--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\"" "--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\""
"--path /Sync/${path}" "--path /${path}"
"--non-interactive" "--non-interactive"
"--exclude ${excludeList}" "--exclude ${excludeList}"
"~/${path}" "~/${path}"

View file

@ -1 +1 @@
.direnv .direnv/