1
1
Fork 0
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:
Rouven Seifert 2023-01-20 10:46:28 +01:00
parent d0371f85b3
commit c59157a753
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
8 changed files with 301 additions and 22 deletions
shared

View file

@ -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
#''}";
}