mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 21:11:08 +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,31 +6,25 @@ with lib;
|
|||
meta.maintainers = [ maintainers.pltanton ];
|
||||
|
||||
options = {
|
||||
services.pasystray = {
|
||||
enable = mkEnableOption "PulseAudio system tray";
|
||||
};
|
||||
services.pasystray = { enable = mkEnableOption "PulseAudio system tray"; };
|
||||
};
|
||||
|
||||
config = mkIf config.services.pasystray.enable {
|
||||
systemd.user.services.pasystray = {
|
||||
Unit = {
|
||||
Description = "PulseAudio system tray";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Unit = {
|
||||
Description = "PulseAudio system tray";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
Environment =
|
||||
let
|
||||
toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ];
|
||||
in
|
||||
[ "PATH=${toolPaths}" ];
|
||||
ExecStart = "${pkgs.pasystray}/bin/pasystray";
|
||||
};
|
||||
Service = {
|
||||
Environment =
|
||||
let toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ];
|
||||
in [ "PATH=${toolPaths}" ];
|
||||
ExecStart = "${pkgs.pasystray}/bin/pasystray";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue