From 76fe8827472a717e1ae3aa0d74d7d04d307c0eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 29 Sep 2023 20:42:17 +0200 Subject: [PATCH] fix: zfs-diff script --- hosts/nixos-laptop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos-laptop/default.nix b/hosts/nixos-laptop/default.nix index 350e1f8..71b149a 100644 --- a/hosts/nixos-laptop/default.nix +++ b/hosts/nixos-laptop/default.nix @@ -29,7 +29,7 @@ name = "zfs-diff"; runtimeInputs = with pkgs; [ zfs coreutils parallel tree ]; text = '' - sudo zfs diff zroot/encrypted/root@blank | cut -f2 | parallel 'test -d /persist/{} || echo {}' | tree --fromfile . + sudo zfs diff zroot/encrypted/root@blank | cut -f2 | parallel 'test -e /persist/{} || echo {}' | tree --fromfile . ''; } )