diff --git a/modules/motd/default.nix b/modules/motd/default.nix index d4afa68..eaefd3d 100644 --- a/modules/motd/default.nix +++ b/modules/motd/default.nix @@ -49,7 +49,7 @@ let printf "''${BOLD}Service status:$ENDCOLOR\n" while IFS= read -r line; do - if [[ ! $line =~ ".service" ]]; then + if [[ ! $line =~ ".service" ]] || [[ $line =~ ".mount" ]]; then continue fi if echo "$line" | grep -q 'failed'; then