aboutsummaryrefslogtreecommitdiff
path: root/tw/home/lap.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/lap.scm')
-rw-r--r--tw/home/lap.scm19
1 files changed, 4 insertions, 15 deletions
diff --git a/tw/home/lap.scm b/tw/home/lap.scm
index d271e268..1a5fb535 100644
--- a/tw/home/lap.scm
+++ b/tw/home/lap.scm
@@ -40,17 +40,6 @@
#:use-module (tw services restic)
#:use-module (tw theme))
-(define (restic-pass-key key)
- (restic-password-source (type 'pass) (name key)))
-
-(define (restic-vin.wg-repo path)
- (restic-rest-repository
- (username "timo")
- (password (restic-pass-key "computers/vin/restic-server/timo"))
- (hostname "vin.wg")
- (port 8181)
- (path path)))
-
(define-public %lap-home
(home-environment
(packages
@@ -87,7 +76,6 @@
(list (restic-scheduled-backup
(schedule #~"0 */2 * * *")
(paths '(;; important user data
- "~/documents"
"~/src"
"~/.local/share/zsh/history"
;; secrets
@@ -111,11 +99,12 @@
(password (restic-pass-key "computers/vin/restic-repos/timo-laptop")))
(restic-scheduled-backup
- (schedule #~"10 */2 * * *")
- (paths '("~/audiobooks"
+ (schedule #~"10 */2 * * *") ; try to avoid lock contention
+ (paths '("~/documents"
+ "~/sync"
+ "~/audiobooks"
"~/music"
"~/pictures"
- "~/sync"
"~/videos/youtube/.yt-dlp"
"~/videos/youtube/.config"))
(repo (restic-vin.wg-repo "timo/sync"))