marleyos/modules/home/xorg/i3/default.nix
2024-11-22 22:40:54 -08:00

25 lines
396 B
Nix

{
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 = {
picom = enabled;
polybar = enabled;
dunst = enabled;
};
};
};
}