From 35e7f35d0e4809d752a5dc02c1ec3521fc452ffb Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 30 Jun 2025 12:58:03 -0700 Subject: backup the VM to Google Cloud Storage For now we only backup git repositories. --- nix/machines/vm-synology/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'nix/machines/vm-synology/default.nix') 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. -- cgit v1.2.3