mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Add backups via restic to hetznix01
This commit is contained in:
parent
dcce63ecc6
commit
eb53309c33
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
10
modules/hosts/nixos/hetznix01/restic.nix
Normal file
10
modules/hosts/nixos/hetznix01/restic.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
../../../system/common/linux/restic.nix
|
||||
];
|
||||
|
||||
services.restic.backups.daily.paths = [
|
||||
"/var/lib/uptime-kuma"
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue