aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux
diff options
context:
space:
mode:
Diffstat (limited to 'machines/nixos/x86_64-linux')
-rw-r--r--machines/nixos/x86_64-linux/vm-synology.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/machines/nixos/x86_64-linux/vm-synology.nix b/machines/nixos/x86_64-linux/vm-synology.nix
index 0dfbc14..4b499f2 100644
--- a/machines/nixos/x86_64-linux/vm-synology.nix
+++ b/machines/nixos/x86_64-linux/vm-synology.nix
@@ -71,5 +71,14 @@
};
};
+ my.modules.backups = {
+ enable = true;
+ passwordFile = config.age.secrets.restic_password.path;
+ remote = {
+ googleProjectId = "fcuny-infra";
+ googleCredentialsFile = config.age.secrets.restic_gcs_credentials.path;
+ };
+ };
+
system.stateVersion = "23.11"; # Did you read the comment?
}