nix/config/Waybar.nix

15 lines
167 B
Nix

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