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,4 +1,7 @@
{ ... }: {
{ lib, config, ... }: let
inherit (lib) mkIf;
inherit (config.conf) extraLayout;
in mkIf extraLayout.enable {
services.xserver.xkb = {
layout = "us,custom";
options = "compose:ralt";