From 66426cf9d67c3110e1501fce87eab8d8b507c500 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 20 Jun 2024 15:52:53 +0700 Subject: [PATCH] rust-motd: removed service_status section since it's relatively useless --- system/services/rust-motd.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/system/services/rust-motd.nix b/system/services/rust-motd.nix index 2a716ca..0c44286 100644 --- a/system/services/rust-motd.nix +++ b/system/services/rust-motd.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: let cfg = config.profile.services.rust-motd; - inherit (lib) mkIf mkMerge; + inherit (lib) mkIf; in { config = mkIf cfg.enable { @@ -15,12 +15,6 @@ in color = "white"; command = "${pkgs.fortune-kind}/bin/fortune-kind | ${pkgs.neo-cowsay}/bin/cowsay --random"; }; - service_status = mkMerge [ - { } - (mkIf config.profile.podman.pihole.enable { Pihole = "podman-pihole"; }) - (mkIf config.profile.podman.qbittorrent.enable { QBittorrent = "podman-qbittorrent"; }) - (mkIf config.profile.services.forgejo.enable { Forgejo = "forgejo"; }) - ]; uptime = { prefix = "Up"; }; @@ -41,7 +35,6 @@ in "last_login" "uptime" "memory" - "service_status" "filesystems" "last_run" ];