mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
keyboard: make the model option optional
Also, actually use it in the call to setxkbmap.
This commit is contained in:
parent
824d31a21c
commit
d6b36f12ff
2 changed files with 3 additions and 2 deletions
|
|
@ -109,6 +109,7 @@ in
|
|||
args =
|
||||
optional (layout != null) "-layout '${layout}'"
|
||||
++ optional (variant != null) "-variant '${variant}'"
|
||||
++ optional (model != null) "-model '${model}'"
|
||||
++ map (v: "-option '${v}'") options;
|
||||
in
|
||||
"${pkgs.xorg.setxkbmap}/bin/setxkbmap ${toString args}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue