Add switch to x11 layout
This commit is contained in:
parent
d9723bac55
commit
436863e523
4 changed files with 9 additions and 14 deletions
|
|
@ -82,14 +82,8 @@ with lib; {
|
|||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
layout = "it";
|
||||
extraLayouts = {
|
||||
eng = {
|
||||
languages = [ "eng" ];
|
||||
description = "English layout for external keyboard";
|
||||
};
|
||||
};
|
||||
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl";
|
||||
layout = "it,us";
|
||||
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl,grp:menu_toggle";
|
||||
libinput.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
home = {
|
||||
language.base = "it_IT.UTF-8";
|
||||
keyboard = {
|
||||
layout = "it";
|
||||
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" ];
|
||||
layout = "it,us";
|
||||
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" "grp:menu_toggle" ];
|
||||
};
|
||||
packages = with pkgs; [
|
||||
pulseaudio
|
||||
|
|
|
|||
|
|
@ -153,9 +153,10 @@ with lib; {
|
|||
theme =
|
||||
"${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
|
||||
};
|
||||
layout = "us";
|
||||
|
||||
videoDrivers = [ "nvidia" ];
|
||||
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl";
|
||||
layout = "us,it";
|
||||
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl,grp:menu_toggle";
|
||||
xrandrHeads = [{
|
||||
primary = true;
|
||||
output = "DP-4";
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
home = {
|
||||
language.base = "it_IT.UTF-8";
|
||||
keyboard = {
|
||||
layout = "en";
|
||||
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" ];
|
||||
layout = "us,it";
|
||||
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" "grp:menu_toggle" ];
|
||||
};
|
||||
packages = with pkgs; [
|
||||
pulseaudio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue