mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-22 17:01:11 +01:00
Apply nixfmt on many files
This commit is contained in:
parent
9799d3de2d
commit
45abf3d38a
177 changed files with 2850 additions and 3565 deletions
|
|
@ -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}"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue