list-usb-drives: remove (never worked)
This commit is contained in:
@@ -166,7 +166,6 @@
|
|||||||
lsof
|
lsof
|
||||||
|
|
||||||
reflac
|
reflac
|
||||||
list-usb-drives
|
|
||||||
|
|
||||||
pfetch-rs
|
pfetch-rs
|
||||||
|
|
||||||
|
|||||||
12
overlays.nix
12
overlays.nix
@@ -43,16 +43,4 @@ final: prev: {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
list-usb-drives = prev.writeShellApplication {
|
|
||||||
name = "list-usb-drives";
|
|
||||||
runtimeInputs = with prev; [
|
|
||||||
findutils
|
|
||||||
coreutils
|
|
||||||
];
|
|
||||||
|
|
||||||
text = ''
|
|
||||||
find "/dev/disk/by-id" -name "usb*" -not -name "*-part[0-9]" -printf "%f\n" | sed 's/^usb\-//g' | sed 's/\-[0-9]*\:/ /g' | column -t --table-columns=DRIVE,BAY | sort -n -k 2
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user