From ff80e2841c2ccbaa0df325269b8a89076da6ce43 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 5 Jan 2025 12:37:34 -0500 Subject: cleanup scripts --- modules/scripts/motd/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/scripts/motd') diff --git a/modules/scripts/motd/default.nix b/modules/scripts/motd/default.nix index 2b60ca3..c4b0c6b 100644 --- a/modules/scripts/motd/default.nix +++ b/modules/scripts/motd/default.nix @@ -4,8 +4,6 @@ let cfg = config.programs.motd; motd = pkgs.writeShellScriptBin "motd" '' - #!/usr/bin/env bash - RED="\e[31m" GREEN="\e[32m" YELLOW="\e[33m" @@ -70,8 +68,7 @@ let done <<< "$SERVICES" printf "\n" ''; -in -{ +in { options = { programs.motd = { enable = mkEnableOption "motd"; -- cgit v1.2.3