mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Change nextcloud sync target
This commit is contained in:
parent
46fd92149f
commit
4b0508ee94
2 changed files with 6 additions and 6 deletions
|
|
@ -6,12 +6,12 @@
|
|||
}:
|
||||
let
|
||||
paths = [
|
||||
"Documents"
|
||||
"Downloads"
|
||||
"Pictures"
|
||||
"Music"
|
||||
"Videos"
|
||||
"Projects"
|
||||
"Documents/h_da"
|
||||
"Documents/vault"
|
||||
"Pictures/Wallpapers"
|
||||
"Pictures/Screenshots"
|
||||
];
|
||||
excludeList = pkgs.concatText "nextcloud-sync-exclude" [
|
||||
"${pkgs.nextcloud-client}/etc/Nextcloud/sync-exclude.lst"
|
||||
|
|
@ -23,7 +23,7 @@ let
|
|||
lib.concatStringsSep " " [
|
||||
"--user seb"
|
||||
"--password \"$(cat ${config.sops.secrets."nextcloud-password".path})\""
|
||||
"--path /Sync/${path}"
|
||||
"--path /${path}"
|
||||
"--non-interactive"
|
||||
"--exclude ${excludeList}"
|
||||
"~/${path}"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
.direnv
|
||||
.direnv/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue