Skip to content

Commit 18d6e05

Browse files
committed
Add nfty
1 parent 899f5d7 commit 18d6e05

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

config/nvim/lazyvim.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"news": {
1313
"NEWS.md": "10960"
1414
},
15-
"version": 8
15+
"version": 7
1616
}

resticprofile.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ version = "1"
55
{{ $MOUNTPOINT := "/mnt/backup" }}
66

77
[generic]
8-
reposity = "local:{{ $MOUNTPOINT }}/{{ .Profile.Name }}"
8+
repository = "local:{{ $MOUNTPOINT }}/{{ .Profile.Name }}"
99
run-before = "mount -U {{ $DRIVE_UUID }} {{ $MOUNTPOINT }}"
1010
run-after = "umount {{ $MOUNTPOINT }}"
11-
run-after-fail = "umount {{ $MOUNTPOINT }}"
11+
run-after-fail = "umount {{ $MOUNTPOINT }} && ntfy send 'Backup of {{ .Profile.Name }} failed'"
1212
lock = "$HOME/resticprofile-{{ .Profile.Name }}.lock"
1313
restic-lock-retry-after = "5m"
1414
restic-stale-lock-age = "2h"

scripts/nas.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ yay_install \
4242
cockpit-file-sharing \
4343
cockpit-sensors \
4444
cockpit-zfs-manager \
45+
ntfy \
4546
resticprofile
4647

48+
WARNING "Remember to create ntfy config at /root/.config/ntfy/ntfy.yml"
49+
4750
sudo systemctl enable --now sshd
4851
sudo systemctl enable --now cockpit.socket
4952

0 commit comments

Comments
 (0)