From 7a211acea367fdea9174f97bd0ac1cb834481b23 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 14 Oct 2025 21:43:17 -0500 Subject: [PATCH] fix motd --- modules/homelab/motd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/homelab/motd/default.nix b/modules/homelab/motd/default.nix index 1480a55..816a600 100644 --- a/modules/homelab/motd/default.nix +++ b/modules/homelab/motd/default.nix @@ -61,8 +61,8 @@ in { echo -e "''${YELLOW}Homelab Services''${RESET}" ${lib.concatStringsSep "\n" (map (service: '' - if systemctl list-units --type=service --all | grep -q "^''${service}"; then - status=$(systemctl is-active ''${service} 2>/dev/null) + 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" else