From 1be972048dd58218cd689ecb5cac562eb398b751 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sun, 17 Aug 2025 11:25:33 +0200 Subject: refreshed config --- nixos/hosts/apocalypse/backup.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 nixos/hosts/apocalypse/backup.nix (limited to 'nixos/hosts/apocalypse/backup.nix') diff --git a/nixos/hosts/apocalypse/backup.nix b/nixos/hosts/apocalypse/backup.nix deleted file mode 100644 index 07386be..0000000 --- a/nixos/hosts/apocalypse/backup.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, lib, pkgs, modulesPath, ...}: -{ - environment.systemPackages = with pkgs; [ - btrbk - lz4 - ]; - - services.btrbk = { - extraPackages = with pkgs; [ lz4 ]; - instances."remote_vault" = { - onCalendar = "weekly"; - settings = { - ssh_identity = "/etc/vault_key"; # NOTE: must be readable by user/group btrbk - ssh_user = "vaultmanager"; - stream_compress = "lz4"; - volume."/btrfs_root" = { - target = "ssh://10.127.9.1/vault/backups/apocalypse"; - subvolume = { - "@root" = { - snapshot_create = "always"; - }; - }; - }; - }; - }; -}; -} -- cgit v1.3.1