mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
18 lines
389 B
Nix
18 lines
389 B
Nix
{
|
|
config,
|
|
lib,
|
|
wrappers,
|
|
...
|
|
}: {
|
|
options.myConfig.de.waybar.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.de.waybar.enable {
|
|
programs.waybar = {
|
|
enable = true;
|
|
package = wrappers.waybar;
|
|
systemd.enable = true;
|
|
};
|
|
|
|
systemd.user.services.waybar.Unit.After = ["sound.target"];
|
|
};
|
|
}
|