only include extra layouts on request

This commit is contained in:
twoneis 2024-08-05 18:53:10 +02:00
parent 714180b656
commit 9b4a4baff2
3 changed files with 7 additions and 3 deletions

View file

@ -1,10 +1,10 @@
{ config, ... }: let
inherit (config.conf) keys;
inherit (config.conf) keys extraLayout;
in {
input = {
keyboard = {
xkb = {
layout = "us,custom";
layout = if extraLayout.enable then "us,custom" else "us";
options = "compose:ralt";
};
};