fixed minipc2 & added scrypted backups
This commit is contained in:
1 parent
de1311fbf9
commit
12f53af7d8
4 files changed
+28
-13
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user