{ config, pkgs, lib, ... }: { xsession.enable = true; xsession.windowManager.i3 = { enable = true; config = { terminal = "${pkgs.alacritty}/bin/alacritty"; keybindings = lib.mkOptionDefault { "${mod}+r" = "exec --no-startup-id ${pkgs.rofi}/bin/rofi"; }; }; }; programs.rofi = { enable = true; theme = "purple"; extraConfig = { modi = "drun"; show-icons = true; combi-modi = "window,drun,ssh"; }; }; services.polybar = { enable = true; package = pkgs.polybarFull; script = ""; config = { "bar/main" = { background = "#000000"; foreground = "#fafafa"; }; "module/pulseaudio" = { type = "internal/pulseaudio"; use-ui-max = false; }; }; }; }