From 45abf3d38a2b51c00c347cab6950f3734e023bba Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 2 Feb 2020 00:39:17 +0100 Subject: Apply `nixfmt` on many files --- modules/services/dwm-status.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'modules/services/dwm-status.nix') diff --git a/modules/services/dwm-status.nix b/modules/services/dwm-status.nix index 2b010cec1e1..7a19e5e5fc9 100644 --- a/modules/services/dwm-status.nix +++ b/modules/services/dwm-status.nix @@ -10,9 +10,8 @@ let configText = builtins.toJSON ({ inherit (cfg) order; } // cfg.extraConfig); configFile = pkgs.writeText "dwm-status.json" configText; -in -{ +in { options = { services.dwm-status = { enable = mkEnableOption "dwm-status user service"; @@ -32,7 +31,7 @@ in extraConfig = mkOption { type = types.attrs; - default = {}; + default = { }; example = literalExample '' { separator = "#"; @@ -58,13 +57,9 @@ in PartOf = [ "graphical-session.target" ]; }; - Install = { - WantedBy = [ "graphical-session.target" ]; - }; + Install = { WantedBy = [ "graphical-session.target" ]; }; - Service = { - ExecStart = "${cfg.package}/bin/dwm-status ${configFile}"; - }; + Service = { ExecStart = "${cfg.package}/bin/dwm-status ${configFile}"; }; }; }; } -- cgit v1.2.3