diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-06-30 12:58:03 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-06-30 12:58:03 -0700 |
| commit | 35e7f35d0e4809d752a5dc02c1ec3521fc452ffb (patch) | |
| tree | eccfe53fd096f3dcd9e25c2807d0bc6c444bbf78 /nix/machines/vm-synology/default.nix | |
| parent | add configuration for vm-synology (diff) | |
| download | infra-35e7f35d0e4809d752a5dc02c1ec3521fc452ffb.tar.gz | |
backup the VM to Google Cloud Storage
For now we only backup git repositories.
Diffstat (limited to '')
| -rw-r--r-- | nix/machines/vm-synology/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/nix/machines/vm-synology/default.nix b/nix/machines/vm-synology/default.nix index 8ced4e1..dd004f6 100644 --- a/nix/machines/vm-synology/default.nix +++ b/nix/machines/vm-synology/default.nix @@ -1,8 +1,20 @@ { pkgs, ... }: { + age = { + secrets = { + restic_gcs_credentials = { + file = ../../../secrets/restic_gcs_credentials.age; + }; + restic_password = { + file = ../../../secrets/restic_password.age; + }; + }; + }; + imports = [ - ./hardware.nix + ./backups.nix ./git.nix + ./hardware.nix ]; # Use the systemd-boot EFI boot loader. |
