From 4c900d7371979a3872cfd5cdc7282bdac7ef901b Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 23 Aug 2022 21:27:57 +0200 Subject: [PATCH] Correct list snapshots command --- modules/restic/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/restic/default.nix b/modules/restic/default.nix index 258a570..760cd84 100644 --- a/modules/restic/default.nix +++ b/modules/restic/default.nix @@ -30,7 +30,7 @@ let mkdir -p /tmp/restic && - ${pkgs.restic}/bin/restic --password-file ${password_file} list snapshots''; + ${pkgs.restic}/bin/restic --password-file ${password_file} snapshots''; restic-infomaniak-mount = pkgs.writeShellScriptBin "restic-infomaniak-mount" '' export $(${pkgs.gnugrep}/bin/grep -v '^#' ${infomaniak-env} | ${pkgs.findutils}/bin/xargs)