all: Change keymap to ergol

This commit is contained in:
Quentin Boyer 2025-02-03 23:34:18 +01:00
parent 194fc3b607
commit a569ce7118
4 changed files with 16 additions and 16 deletions

View file

@ -35,8 +35,8 @@ in
};
services.xserver = {
layout = "us";
xkbVariant = "dvp";
layout = "fr";
xkbVariant = "ergol";
};
hardware.pulseaudio.enable = false;

View file

@ -147,32 +147,32 @@
moveModifier = "Shift";
definitions = {
"1:" = {
key = "ampersand";
key = "1";
};
"2:" = {
key = "bracketleft";
key = "2";
};
"3:" = {
key = "braceleft";
key = "3";
};
"4" = {
key = "braceright";
key = "4";
};
"5" = {
key = "parenleft";
key = "5";
};
"6" = {
key = "equal";
key = "6";
};
"7" = {
key = "asterisk";
key = "7";
};
"" = {
key = "parenright";
key = "8";
assign = [ "Spotify" ];
};
"" = {
key = "w";
key = "g";
assign = [
"Element"
"Signal"
@ -180,7 +180,7 @@
];
};
"" = {
key = "m";
key = "h";
assign = [ "Thunderbird" ];
};
};
@ -229,7 +229,7 @@
"${mod}+comma" = "layout tabbed";
# Misc
"${mod}+Shift+semicolon" = "kill";
"${mod}+Shift+Q" = "kill";
"${mod}+Shift+J" = "reload";
"${mod}+Return" = "exec ${config.terminal.command}";
"${mod}+p" = "mode resize";

View file

@ -19,8 +19,8 @@
nixpkgs.overlays = [
(self: super: {
cage = pkgs.writeShellScriptBin "cage" ''
export XKB_DEFAULT_LAYOUT=us
export XKB_DEFAULT_VARIANT=dvp
export XKB_DEFAULT_LAYOUT=fr
export XKB_DEFAULT_VARIANT=ergol
exec ${self.lib.getExe super.cage} "$@"
'';
})

View file

@ -317,7 +317,7 @@ in
{
name = "type:keyboard";
value = {
xkb_layout = "us(dvp),us";
xkb_layout = "fr(ergol),us";
xkb_options = "compose:102";
};
}