mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-12 15:30:54 +02:00
initial halfway working config
This commit is contained in:
parent
d0371f85b3
commit
c59157a753
8 changed files with 301 additions and 22 deletions
shared
|
@ -6,13 +6,15 @@
|
|||
# Configure keymap in X11
|
||||
services.xserver.layout = "us";
|
||||
services.xserver.xkbVariant = "dvorak-alt-intl";
|
||||
services.xserver.displayManager.sessionCommands =
|
||||
"${pkgs.xorg.xmodmap}/bin/xmodmap ${pkgs.writeText "xkb-layout" ''
|
||||
keycode 108 = Mode_switch
|
||||
keycode 94 = Shift_L NoSymbol Shift_L
|
||||
keysym a = a A adiaeresis Adiaeresis
|
||||
keysym o = o O odiaeresis Odiaeresis
|
||||
keysym u = u U udiaeresis Udiaeresis
|
||||
keysym s = s S ssharp
|
||||
''}";
|
||||
|
||||
# Port this to wayland TODO. doesn't even work with gdm lmao
|
||||
#services.xserver.displayManager.setupCommands =
|
||||
#"${pkgs.xorg.xmodmap}/bin/xmodmap ${pkgs.writeText "xkb-layout" ''
|
||||
#keycode 108 = Mode_switch
|
||||
#keycode 94 = Shift_L NoSymbol Shift_L
|
||||
#keysym a = a A adiaeresis Adiaeresis
|
||||
#keysym o = o O odiaeresis Odiaeresis
|
||||
#keysym u = u U udiaeresis Udiaeresis
|
||||
#keysym s = s S ssharp
|
||||
#''}";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue