{ pkgs, lib, config, ... }: { options = { xserver.awesome.enable = lib.mkEnableOption "enables awesomewm"; }; config = lib.mkIf (config.xserver.enable && config.xserver.awesome.enable ) { services.xserver.windowManager.awesome = { enable = true; noArgb = true; # disables transparency. why not? luaModules = with pkgs.luajitPackages; [ lgi ]; package = with pkgs; awesome.override { gtk3Support = true; gtk3 = gtk3; lua = luajit; }; }; }; }