marleyos/modules/home/xorg/i3/default.nix

23 lines
357 B
Nix
Raw Normal View History

2024-11-18 20:37:50 -08:00
{
lib,
config,
...
}:
let
inherit (lib) mkEnableOption mkIf;
inherit (lib.marleyos) enabled;
cfg = config.marleyos.xorg.i3;
in
{
options.marleyos.xorg.i3.enable = mkEnableOption "i3";
config = mkIf cfg.enable {
marleyos = {
programs.rofi = enabled;
services.polybar = enabled;
services.dunst = enabled;
};
};
}