From 69a671559a3fd3cd3b86e5c7b7a77c9e4aeeedfd Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 14 Oct 2025 21:51:53 -0500 Subject: [PATCH] its done, deadass this time --- modules/homelab/motd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/homelab/motd/default.nix b/modules/homelab/motd/default.nix index fb53c11..31fe61c 100644 --- a/modules/homelab/motd/default.nix +++ b/modules/homelab/motd/default.nix @@ -61,7 +61,7 @@ in { echo -e "''${YELLOW}Homelab Services''${RESET}" ${lib.concatStringsSep "\n" (map (service: '' - if systemctl list-units --type=service --all | grep "${service}"; then + if systemctl list-units --type=service --all | grep -q "${service}"; then status=$(systemctl is-active ${service} 2>/dev/null) if [ "''${status}" = "active" ]; then echo -e " ''${BLUE}${service}''${RESET} - running"