Add backups via restic to hetznix01

This commit is contained in:
Gene Liverman 2024-06-15 17:59:34 -04:00
parent dcce63ecc6
commit eb53309c33
2 changed files with 12 additions and 1 deletions

View file

@ -1,10 +1,11 @@
{ config, username, ... }: {
{ username, ... }: {
imports = [
./hardware-configuration.nix
./disk-config.nix
# Added post-install
./sops.nix
./nginx.nix
./restic.nix
./tailscale.nix
];

View file

@ -0,0 +1,10 @@
{ ... }: {
imports = [
../../../system/common/linux/restic.nix
];
services.restic.backups.daily.paths = [
"/var/lib/uptime-kuma"
];
}