diff --git a/flake.nix b/flake.nix index 9974817..a53af56 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 25 current 2025-10-07 15:19:25 25.05.20251001.5b5be50 6.12.49 * +# generation: 26 current 2025-10-07 15:27:08 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/system/backups.nix b/modules/system/backups.nix index b36f232..ddaedb4 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -45,7 +45,6 @@ in # Initialize repo if it doesn't exist if ! borg info "$BORG_REPO" >/dev/null 2>&1; then -# mkdir -p "$BORG_REPO" echo "init borg repo at $BORG_REPO" borg init --encryption=repokey "$BORG_REPO" fi @@ -59,7 +58,7 @@ in --stats \ --show-rc \ --compression lz4 \ - "$BORG_REPO::$(host)-$(date +'%Y-%m-%dT%H:%M:%S')" \ + "$BORG_REPO::$(HOST)-$(date +'%Y-%m-%dT%H:%M:%S')" \ ${lib.concatStringsSep " " cfg.paths} # Prune old backups according to retention policy