diff --git a/nixos/base.nix b/nixos/base.nix index 7eb17aa9..75c5766b 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -87,27 +87,15 @@ xkbOptions = "ctrl:swapcaps"; layout = "us+rwin_as_hyper"; - extraLayouts.hyper = { + extraLayouts.rwin_as_hyper = { description = "Right Alt as Hyper key"; languages = [ ]; - symbolsFile = pkgs.writeText "hyper" '' + symbolsFile = pkgs.writeText "rwin_as_hyper" '' partial modifier_keys xkb_symbols "rwin_as_hyper" { replace key { [ Hyper_R ] }; modifier_map Mod3 { , Hyper_L, Hyper_R }; }; - - partial modifier_keys - xkb_symbols "home_as_hyper" { - replace key { [ Hyper_L ] }; - modifier_map Mod3 { , Hyper_L, Hyper_R }; - }; - - partial modifier_keys - xkb_symbols "ralt_as_hyper" { - replace key { [ Hyper_L, Hyper_L ] }; - modifier_map Mod3 { , Hyper_L }; - }; ''; };