Update and more backups

This commit is contained in:
Geoffrey Frogeye 2024-01-15 18:36:51 +01:00
parent 26e70acb2f
commit c1d8bc65af
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 14 additions and 14 deletions

View file

@ -2,13 +2,13 @@
# MANU Snapper is not able to create the snapshot directory, so you'll need to do this after eventually running the backup script:
# sudo btrfs subvol create /mnt/razmo/$subvolume/.snapshots
let
backup_subvolumes = [ "nixos" "home.rapido" ];
backup_subvolumes = [ "nixos" "home.rapido" "home.nixos" ];
backup_app = pkgs.writeShellApplication {
name = "backup-subvolume";
runtimeInputs = with pkgs; [ coreutils btrfs-progs ];
text = builtins.readFile ./backup.sh;
};
snapper_subvolumes = [ "nixos" "home.rapido" "home.razmo" ];
snapper_subvolumes = [ "nixos" "home.rapido" "home.razmo" "home.nixos" ];
in
{
services =