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

26 lines
396 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;
2024-11-22 22:40:54 -08:00
services = {
picom = enabled;
polybar = enabled;
dunst = enabled;
};
2024-11-18 20:37:50 -08:00
};
};
}