{ pkgs, helpers, ... }: { imports = # helpers.getModules "/home.nix" (import ./modules.nix) ++ [ ../../themes/kaolin-dark ./start-session/home.nix ]; custom.wallpaper = ../../wallpapers/blopies.jpg; xsession.windowManager.bspwm.extraConfig = '' pgrep -x sxhkd > /dev/null || sxhkd & ''; # Workaround for xkb not working properly in xrdp # # Hypothesis: Xorg starts before a client connects, # so the client's keyboard is added far after # initialization. By adding it to the xsession we set # the xkb map after the client joins xsession.initExtra = '' setxkbmap -option caps:swapescape,altwin:swap_alt_win ''; home = { sessionVariables = { EDITOR = "codium"; BROWSER = "qutebrowser"; TERMINAL = "kitty"; TERM = "kitty"; FILEMANAGER = "kitty lf"; # Vscodium garbaj DONT_PROMPT_WSL_INSTALL = 1; }; sessionPath = [ "$HOME/.local/bin" ]; stateVersion = "23.11"; }; # Defaults xdg.mimeApps.enable = true; xdg.mimeApps.defaultApplications = { "inode/directory" = [ # "lf.desktop" "kitty-open.desktop" ]; }; }