forked from colonelpanic/dotfiles
Revert "[NixOS] Set custom keyboard modifiers globally"
This reverts commit 691d7835e3
.
This commit is contained in:
parent
582d9a3939
commit
f4f0a7204b
@ -61,10 +61,12 @@
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
# Keyboard/Keymap
|
||||
console.keyMap = "us";
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
};
|
||||
console.useXkbConfig = true;
|
||||
|
||||
# Update timezone automatically
|
||||
services.tzupdate.enable = true;
|
||||
@ -83,34 +85,9 @@
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
exportConfiguration = true;
|
||||
enable = true;
|
||||
|
||||
xkbOptions = "ctrl:swapcaps";
|
||||
layout = "us+rwin_as_hyper";
|
||||
extraLayouts.hyper = {
|
||||
description = "Right Alt as Hyper key";
|
||||
languages = [ ];
|
||||
symbolsFile = pkgs.writeText "hyper" ''
|
||||
partial modifier_keys
|
||||
xkb_symbols "rwin_as_hyper" {
|
||||
replace key <RWIN> { [ Hyper_R ] };
|
||||
modifier_map Mod3 { <HYPR>, Hyper_L, Hyper_R };
|
||||
};
|
||||
|
||||
partial modifier_keys
|
||||
xkb_symbols "home_as_hyper" {
|
||||
replace key <HOME> { [ Hyper_L ] };
|
||||
modifier_map Mod3 { <HOME>, Hyper_L, Hyper_R };
|
||||
};
|
||||
|
||||
partial modifier_keys
|
||||
xkb_symbols "ralt_as_hyper" {
|
||||
replace key <RALT> { [ Hyper_L, Hyper_L ] };
|
||||
modifier_map Mod3 { <RALT>, Hyper_L };
|
||||
};
|
||||
'';
|
||||
};
|
||||
|
||||
layout = "us";
|
||||
desktopManager = {
|
||||
plasma5.enable = true;
|
||||
};
|
||||
|
@ -2,10 +2,11 @@
|
||||
xsession = {
|
||||
enable = true;
|
||||
preferStatusNotifierItems = true;
|
||||
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" "PATH" ];
|
||||
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
||||
profileExtra = ''
|
||||
export ROFI_SYSTEMD_TERM="alacritty -e"
|
||||
. "$HOME/.lib/login.sh"
|
||||
load_xkb_map.sh
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user