nix/config/Waybar.nix

13 lines
165 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.module.waybar;
in
{
config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ waybar ]; };
}