mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Add show-files-to-be-deleted
overlay
Signed-off-by: MagicRB <richard@brezak.sk>
This commit is contained in:
parent
a8388bb09c
commit
26d8b6dac3
11
overlays/show-files-to-be-deleted/default.nix
Normal file
11
overlays/show-files-to-be-deleted/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
flake.overlays.show-files-to-be-deleted =
|
||||
final: prev: {
|
||||
show-files-to-be-deleted = final.writeShellScriptBin "show-files-to-be-deleted" ''
|
||||
[ $(id -u) == 0 ] || exec sudo $0
|
||||
find / -mount -type f
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue