diff --git a/flake.nix b/flake.nix index a53af56..dfa0713 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 26 current 2025-10-07 15:27:08 25.05.20251001.5b5be50 6.12.49 * +# generation: 27 current 2025-10-07 15:29:13 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 ddaedb4..092cb55 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -58,7 +58,7 @@ in --stats \ --show-rc \ --compression lz4 \ - "$BORG_REPO::$(HOST)-$(date +'%Y-%m-%dT%H:%M:%S')" \ + "$BORG_REPO::${toString config.networking.hostName}-$(date +'%Y-%m-%dT%H:%M:%S')" \ ${lib.concatStringsSep " " cfg.paths} # Prune old backups according to retention policy