From daf30d2fcd017ffd6d0044065cc5c59ee9f38bc0 Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Sat, 14 Jun 2025 13:16:36 +0300 Subject: [PATCH] nixos/dwm-status: clean up whitespace and old comments --- nixos/modules/services/misc/dwm-status.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nixos/modules/services/misc/dwm-status.nix b/nixos/modules/services/misc/dwm-status.nix index 542eaec4bdf0..b7031808287b 100644 --- a/nixos/modules/services/misc/dwm-status.nix +++ b/nixos/modules/services/misc/dwm-status.nix @@ -25,12 +25,8 @@ in ] "Use services.dwm-status.settings instead.") ]; - ###### interface - options = { - services.dwm-status = { - enable = lib.mkEnableOption "dwm-status user service"; package = lib.mkPackageOption pkgs "dwm-status" { @@ -74,25 +70,17 @@ in for available options. ''; }; - }; - }; - ###### implementation - config = lib.mkIf cfg.enable { - services.upower.enable = lib.mkIf (lib.elem "battery" cfg.settings.order) true; systemd.user.services.dwm-status = { description = "Highly performant and configurable DWM status service"; wantedBy = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ]; - serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile} --quiet"; }; - }; - }