summaryrefslogtreecommitdiff
path: root/tw/home
diff options
context:
space:
mode:
authorTimo Wilken2023-05-15 23:40:21 +0200
committerTimo Wilken2023-05-15 23:40:55 +0200
commit32f65a4fd3c27e17e8ffba65e8e60a47ae0f27df (patch)
treefbd21fe5dbd972bde01f32506485ec987e48d42e /tw/home
parent937fc746ea4c5d3e7d20f40b0c6ee74daabd14b5 (diff)
Back up media directories
Diffstat (limited to 'tw/home')
-rw-r--r--tw/home/lap.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tw/home/lap.scm b/tw/home/lap.scm
index 6d3df7ac..235a3de2 100644
--- a/tw/home/lap.scm
+++ b/tw/home/lap.scm
@@ -123,13 +123,17 @@
(batteries '("BAT0"))))
(simple-service 'restic-environment home-environment-variables-service-type
+ ;; This variable is useful in interactive shells.
+ ;; See also the restic alias in zshrc.
`(("RESTIC_PASSWORD_COMMAND" . "pass computers/vin/restic-repos/laptop")))
(service home-restic-backup-service-type
(list (restic-repository
(schedule #~"0 */2 * * *")
- (paths '(;; documents and work
+ (paths '(;; important user data
+ "~/audiobooks"
"~/documents"
+ "~/pictures"
"~/src"
"~/.local/share/zsh/history"
;; secrets