mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +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
|
|
@ -6,9 +6,7 @@ let
|
|||
|
||||
cfg = config.services.status-notifier-watcher;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
meta.maintainers = [ maintainers.pltanton ];
|
||||
|
||||
options = {
|
||||
|
|
@ -17,30 +15,30 @@ in
|
|||
|
||||
package = mkOption {
|
||||
default = pkgs.haskellPackages.status-notifier-item;
|
||||
defaultText = literalExample "pkgs.haskellPackages.status-notifier-item";
|
||||
defaultText =
|
||||
literalExample "pkgs.haskellPackages.status-notifier-item";
|
||||
type = types.package;
|
||||
example = literalExample "pkgs.haskellPackages.status-notifier-item";
|
||||
description = "The package to use for the status notifier watcher binary.";
|
||||
description =
|
||||
"The package to use for the status notifier watcher binary.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.user.services.status-notifier-watcher = {
|
||||
Unit = {
|
||||
Description = "SNI watcher";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
Before = [ "taffybar.service" ];
|
||||
};
|
||||
Unit = {
|
||||
Description = "SNI watcher";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
Before = [ "taffybar.service" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${cfg.package}/bin/status-notifier-watcher";
|
||||
};
|
||||
Service = { ExecStart = "${cfg.package}/bin/status-notifier-watcher"; };
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" "taffybar.service" ];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" "taffybar.service" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue