diff --git a/hosts/marauder/backup.nix b/hosts/marauder/backup.nix index 9cacda2..df0151e 100755 --- a/hosts/marauder/backup.nix +++ b/hosts/marauder/backup.nix @@ -1,11 +1,5 @@ { pkgs, config, secrets, ... }: { - environment.systemPackages = with pkgs; [ - restic - libnotify - backblaze-b2 - ]; - systemd.services = { notify-backup-b2-failed = { description = "Notify on failed backup to B2"; @@ -26,8 +20,8 @@ environment.etc = { "restic-env".text = '' - export B2_ACCOUNT_ID="${secrets.b2.accountId}" - export B2_ACCOUNT_KEY="${secrets.b2.accountKey}" + B2_ACCOUNT_ID="${secrets.b2.accountId}" + B2_ACCOUNT_KEY="${secrets.b2.accountKey}" ''; "restic-password".text = secrets.restic.password; };