2024-09-29 19:26:13 +03:00
|
|
|
{ lib, config, pkgs, ... }: with lib; let
|
2024-09-29 19:22:15 +03:00
|
|
|
cfg = config.module.desktop.waybar;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
module.desktop.waybar = {
|
|
|
|
enable = mkEnableOption "Use Waybar.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2024-09-29 19:26:13 +03:00
|
|
|
environment.systemPackages = with pkgs; [ waybar ];
|
2024-09-29 19:22:15 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|