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