aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-15 11:34:36 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-15 11:34:36 -0800
commitefbdc2d49135be41ef17cfc7edfe18a03543b63a (patch)
tree2e3d59cfe477000845179a522eb9376f6fb0bbae /machines/nixos/x86_64-linux
parentuse cgit package (diff)
downloadinfra-efbdc2d49135be41ef17cfc7edfe18a03543b63a.tar.gz
simplify the backups
Diffstat (limited to 'machines/nixos/x86_64-linux')
-rw-r--r--machines/nixos/x86_64-linux/rivendell.nix1
-rw-r--r--machines/nixos/x86_64-linux/synology-vm.nix21
2 files changed, 1 insertions, 21 deletions
diff --git a/machines/nixos/x86_64-linux/rivendell.nix b/machines/nixos/x86_64-linux/rivendell.nix
index e2f03b4..f0f43a9 100644
--- a/machines/nixos/x86_64-linux/rivendell.nix
+++ b/machines/nixos/x86_64-linux/rivendell.nix
@@ -15,6 +15,7 @@
../../../profiles/home-manager.nix
../../../profiles/keycloak.nix
../../../profiles/remote-unlock.nix
+ ../../../profiles/restic-backup.nix
../../../profiles/server.nix
];
diff --git a/machines/nixos/x86_64-linux/synology-vm.nix b/machines/nixos/x86_64-linux/synology-vm.nix
index 1b9b7e7..a905be5 100644
--- a/machines/nixos/x86_64-linux/synology-vm.nix
+++ b/machines/nixos/x86_64-linux/synology-vm.nix
@@ -37,27 +37,6 @@
networking.useDHCP = lib.mkDefault true;
systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;
- my.modules.nas-client = {
- enable = true;
- volumes = {
- data = {
- server = "192.168.1.68";
- remotePath = "backups";
- mountPoint = "/data/backups";
- uid = adminUser.uid;
- };
- };
- };
-
- my.modules.backups = {
- enable = true;
- passwordFile = config.age.secrets.restic_password.path;
- remote = {
- googleProjectId = "fcuny-infra";
- googleCredentialsFile = config.age.secrets.restic_gcs_credentials.path;
- };
- };
-
users.users.builder = {
openssh.authorizedKeys.keys = [
# my personal key