diff --git a/configuration.nix b/configuration.nix index 1a667c4..89d1faf 100644 --- a/configuration.nix +++ b/configuration.nix @@ -174,7 +174,6 @@ lsof - disk-smart-test reflac pfetch-rs diff --git a/overlays.nix b/overlays.nix index 38d0f99..faf7429 100644 --- a/overlays.nix +++ b/overlays.nix @@ -31,32 +31,6 @@ final: prev: { ''; }; - disk-smart-test = prev.writeShellApplication { - name = "disk-smart-test"; - runtimeInputs = with prev; [ - gnugrep - coreutils - smartmontools - ]; - - text = '' - #!/bin/sh - set -e - if [[ $EUID -ne 0 ]]; then - echo "This command requires root." - exit 2 - fi - - for i in /dev/disk/by-id/*; do - case "$i" in - *\\-part[0-9]*) continue ;; - esac - echo -n "$i " - smartctl -a "$i" | grep "SMART overall-health self-assessment test result:" | cut -d' ' -f6 - done - ''; - }; - reflac = prev.writeShellApplication { name = "reflac"; runtimeInputs = with prev; [ flac ];