mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
21 lines
617 B
Nix
21 lines
617 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
xorg.xmodmap
|
|
];
|
|
# Configure keymap in X11
|
|
services.xserver.layout = "us";
|
|
services.xserver.xkbVariant = "dvorak-alt-intl";
|
|
|
|
# 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
|
|
#''}";
|
|
}
|