17 lines
250 B
Nix
17 lines
250 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.module.desktop.waybar;
|
|
in {
|
|
options.module.desktop.waybar.enable = lib.mkEnableOption "the Waybar.";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
waybar
|
|
];
|
|
};
|
|
}
|