dotfiles/user-modules/desktop/window-manager/i3.nix

28 lines
382 B
Nix
Raw Normal View History

2025-02-02 13:09:09 +00:00
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.i3;
in
{
options.modules.i3.enable = lib.mkEnableOption "i3";
config = lib.mkIf cfg.enable {
# Set desktop type to x11
2025-02-02 13:23:37 +00:00
# modules.desktop.x11 = true;
2025-02-02 13:09:09 +00:00
modules.rofi.enable = true;
modules.desktop.initScript = ''
i3
'';
xsession.windowManager.i3 = {
enable = true;
};
};
}