{ # Enable bspwm and sxhkd xsession.windowManager.bspwm = { enable = true; extraConfig = '' bspc config remove_disabled_monitors true bspc config remove_unplugged_monitors true bspc config borderless_monocle true bspc config gapless_monocle true bspc config border_width 1 bspc config window_gap 4 bspc config normal_border_color "#181a23" bspc config active_border_color "#181a23" bspc config focused_border_color "#bd93f9" bspc config presel_feedback_color "#bd93f9" # Extra padding for polybar bspc config -m primary top_padding 34 bspc config -m primary bottom_padding 0 # Load polybar for file in $XDG_CONFIG_HOME/bspwm/rc.d/*; do source "$file" done ''; } services.sxhkd.enable = true; # Add gtk theme for Dracular and Paper # Set wallpaper # Install themes user.packages = with pkgs; [ unstable.dracula-theme paper-icon-theme ]; # Font stuff fonts = { fonts = with pkgs; [ fire-code hermit hack fire-code-symbols siji font-awesome-ttf ]; fontconfig.defaultFonts = { sansSerif = ["Hermit"]; monospace = ["Hermit"]; }; }; # Move required config files around home.configFile = { "bspwm/rc.d/polybar".source = ./run.sh; "sxhkdrc".source = ./sxhkdrc; "rofi/theme" = { source = ./rofi; recursive = true; }; "polybar" = { source = ./polybar; recursive = true; }; "dunst/dunstrc".source = ./dunstrc; }; # Login screen services.xserver.displayManager.lightdm.greeters.mini.extraConfig = '' text-color = "#ff79c6" password-background-color = "#1E2029" window-color = "#181a23" border-color = "#181a23" ''; # Compositor services.picom = { fade = true; fadeDelta = 1; fadeSteps = [ 0.01 0.012 ]; shadow = true; shadowOffsets = [ (-10) (-10) ]; shadowOpacity = 0.22; # activeOpacity = "1.00"; # inactiveOpacity = "0.92"; settings = { shadow-radius = 12; # blur-background = true; # blur-background-frame = true; # blur-background-fixed = true; blur-kern = "7x7box"; blur-strength = 320; }; }; programs.autorandr.enable = true; services.udiskie.automount = true; }