Skip to content

Commit

Permalink
add homeassisant backups
Browse files Browse the repository at this point in the history
  • Loading branch information
devusb committed Jan 28, 2024
1 parent 99c617a commit 790aaec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hosts/chopper/homeassistant.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
};
};

services.deploy-backup.backups.homeassistant = {
files = [
''$(find /var/lib/homeassistant/backups -type f -name "*.tar" -exec ls -t {} + | head -n 1)''
"/var/lib/node-red"
];
};

services.mosquitto = {
enable = true;
listeners = lib.singleton {
Expand Down

0 comments on commit 790aaec

Please sign in to comment.