custom as default layout if enabled
This commit is contained in:
parent
24a2b22942
commit
3a4284fc80
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
inherit (config.conf) extraLayout;
|
inherit (config.conf) extraLayout;
|
||||||
in mkIf extraLayout.enable {
|
in mkIf extraLayout.enable {
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
layout = "us,custom";
|
layout = "custom,us";
|
||||||
options = "compose:ralt";
|
options = "compose:ralt";
|
||||||
|
|
||||||
extraLayouts."custom" = {
|
extraLayouts."custom" = {
|
||||||
|
|
|
@ -4,7 +4,7 @@ in {
|
||||||
input = {
|
input = {
|
||||||
keyboard = {
|
keyboard = {
|
||||||
xkb = {
|
xkb = {
|
||||||
layout = if extraLayout.enable then "us,custom" else "us";
|
layout = if extraLayout.enable then "custom,us" else "us";
|
||||||
options = "compose:ralt";
|
options = "compose:ralt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue