custom as default layout if enabled

This commit is contained in:
twoneis 2024-08-07 11:32:55 +02:00
parent 24a2b22942
commit 3a4284fc80
2 changed files with 2 additions and 2 deletions

View file

@ -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" = {

View file

@ -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";
}; };
}; };