nixos/waybar: enable systemdSupport for package

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-09-28 15:51:33 +02:00 committed by John Titor
parent d68f1d2354
commit 5fcc1337d2
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -11,7 +11,11 @@ in
{
options.programs.waybar = {
enable = lib.mkEnableOption "waybar, a highly customizable Wayland bar for Sway and Wlroots based compositors";
package = lib.mkPackageOption pkgs "waybar" { };
package =
lib.mkPackageOption pkgs "waybar" { }
// lib.mkOption {
apply = pkg: pkg.override { systemdSupport = true; };
};
};
config = lib.mkIf cfg.enable {