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

22 lines
357 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.polybar = enabled;
services.dunst = enabled;
};
};
}