From 601c458703a619d3964e2b5566fff45b52700576 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 23 Aug 2022 20:13:21 +0200 Subject: [PATCH] Add a restic-forget command --- modules/restic/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/restic/default.nix b/modules/restic/default.nix index 2cf3865..5b3efd3 100644 --- a/modules/restic/default.nix +++ b/modules/restic/default.nix @@ -71,5 +71,10 @@ in --password-file ${password_file} \ mount /tmp/restic ''; + restic-forget = '' + restic \ + --repo ${repository} \ + --password-file ${password_file} \ + forget $1''; }; }