From dd441126be1fa2285612ef852308e84967a3da04 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 19 Jul 2021 20:30:41 -0600 Subject: [PATCH] [NixOS] Fix keyboard configuration compilation --- nixos/base.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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 }; - }; ''; };