Compare commits
2 Commits
76fe882747
...
b63dbb873a
Author | SHA1 | Date |
---|---|---|
Moritz Böhme | b63dbb873a | |
Moritz Böhme | 1a9474a700 |
|
@ -29,7 +29,7 @@
|
||||||
name = "zfs-diff";
|
name = "zfs-diff";
|
||||||
runtimeInputs = with pkgs; [ zfs coreutils parallel tree ];
|
runtimeInputs = with pkgs; [ zfs coreutils parallel tree ];
|
||||||
text = ''
|
text = ''
|
||||||
sudo zfs diff zroot/encrypted/root@blank | cut -f2 | parallel 'test -e /persist/{} || echo {}' | tree --fromfile .
|
zfs diff -F zroot/encrypted/root@blank | awk '$2 == "F" && system("test -e /persist/"$3) != 0 { print $3 }' 2>/dev/null | tree --fromfile . "$@"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
".config/Nextcloud"
|
".config/Nextcloud"
|
||||||
".config/keepassxc"
|
".config/keepassxc"
|
||||||
".local/share/direnv"
|
".local/share/direnv"
|
||||||
|
".local/share/nvim"
|
||||||
".local/share/zoxide"
|
".local/share/zoxide"
|
||||||
".local/state/nvim"
|
".local/state/nvim"
|
||||||
".mozilla"
|
".mozilla"
|
||||||
|
|
Loading…
Reference in New Issue