Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. { pkgs, ...}:
  2.  
  3. {
  4. nixpkgs.config.allowUnfree = true;
  5.  
  6. home.sessionVariables.EDITOR = "emacsclient";
  7.  
  8. xsession.profileExtra = ''
  9. export XMODIFIERS=@im=exwm-xim
  10. export GTK_IM_MODULE=xim
  11. export QT_IM_MODULE=xim
  12. export CLUTTER_IM_MODULE=xim
  13. systemctl --user import-environment XMODIFIERS GTK_IM_MODULE QT_IM_MODULE CLUTTER_IM_MODULE
  14. '';
  15.  
  16. xsession.enable = true;
  17. xsession.windowManager.command = "emacs";
  18.  
  19. home.keyboard = {
  20. variant = "qwerty";
  21. layout = "us, gr";
  22. options = [ "grp:shift_toggle" "grp_led:caps" "caps:escape" "compose:menu" ];
  23. };
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement