From 0206125efb442a3b3e211daf161ac8286ab5e811 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 15 Aug 2026 22:23:54 -0400 Subject: [PATCH] nixos: move syncthing backups to jubilife --- nix/modules/hosts/nixos/eterna/backups.nix | 14 -------------- nix/modules/hosts/nixos/jubilife/backups.nix | 10 +++++++++- 2 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 nix/modules/hosts/nixos/eterna/backups.nix diff --git a/nix/modules/hosts/nixos/eterna/backups.nix b/nix/modules/hosts/nixos/eterna/backups.nix deleted file mode 100644 index 02106ea1..00000000 --- a/nix/modules/hosts/nixos/eterna/backups.nix +++ /dev/null @@ -1,14 +0,0 @@ -_: { - flake.nixosModules.eterna = {config, ...}: { - myNixOs.profile.backups.jobs = { - syncthing-sync = { - paths = ["/home/aly/sync"]; - repository = "rclone:b2:aly-backups/syncthing/sync"; - }; - syncthing-roms = { - paths = [config.myNixOs.service.syncthing.romsPath]; - repository = "rclone:b2:aly-backups/syncthing/roms"; - }; - }; - }; -} diff --git a/nix/modules/hosts/nixos/jubilife/backups.nix b/nix/modules/hosts/nixos/jubilife/backups.nix index 7c250564..077231e0 100644 --- a/nix/modules/hosts/nixos/jubilife/backups.nix +++ b/nix/modules/hosts/nixos/jubilife/backups.nix @@ -1,5 +1,5 @@ _: { - flake.nixosModules.jubilife = { + flake.nixosModules.jubilife = {config, ...}: { myNixOs.profile.backups.jobs = let dataDirectory = "/mnt/Data"; in { @@ -17,6 +17,14 @@ _: { exclude = ["${dataDirectory}/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases"]; paths = ["${dataDirectory}/plex"]; }; + syncthing-roms = { + paths = [config.myNixOs.service.syncthing.romsPath]; + repository = "rclone:b2:aly-backups/syncthing/roms"; + }; + syncthing-sync = { + paths = ["/home/aly/sync"]; + repository = "rclone:b2:aly-backups/syncthing/sync"; + }; }; }; } -- 2.51.2