fixed minipc2 & added scrypted backups

This commit is contained in:
ari committed 2024-12-26 15:29:24 -05:00
1 parent de1311fbf9
commit 12f53af7d8
4 files changed
+28 -13

No files matched your search

+16 -5
View File
@@ -25,11 +25,22 @@ in
deps = [ ];
};
};
skyg.server.timers.scrypted-backups = {
script = ''
set -eu
${pkgs.rsync}/bin/rsync -avpzP --delete /opt/homelab/scrypted /mnt/terra1/Data/apps/
'';
skyg.server.timers = {
scrypted-backups = {
OnCalendar = "daily";
script = ''
set -eu
${pkgs.rsync}/bin/rsync -avpzP --delete /opt/homelab/scrypted /mnt/terra1/Data/apps/
'';
};
scrypted-autoupdate = {
OnCalendar = "weekly";
script = ''
set -eu
${pkgs.docker}/bin/docker pull ghcr.io/koush/scrypted
systemctl restart docker-scrypted.service
'';
};
};
virtualisation.oci-containers = {
containers = {