From bdd22ca21ba453ea736207672b288f423bd066be Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 20 Nov 2023 12:18:35 +0100 Subject: [PATCH] Add restic-list-all command --- modules/programs/restic-management/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/programs/restic-management/default.nix b/modules/programs/restic-management/default.nix index 036cd3a..a295fd8 100644 --- a/modules/programs/restic-management/default.nix +++ b/modules/programs/restic-management/default.nix @@ -66,6 +66,10 @@ in --repo ${repository} \ --password-file ${password_file} \ snapshots --host ${config.networking.hostName}''; + restic-list-all = '' + ${pkgs.restic}/bin/restic \ + --repo ${repository} \ + --password-file ${password_file} snapshots''; restic-unlock = '' ${pkgs.restic}/bin/restic \ --repo ${repository} \