diff options
author | Robert Helgesson <robert@rycee.net> | 2019-09-05 01:56:14 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-09-05 01:56:14 +0200 |
commit | d6b36f12ff74b41b34e162bbe757f01f9636399c (patch) | |
tree | e98d1e4255101e8cd2e133cdd351be851a6f95d0 /modules/home-environment.nix | |
parent | 824d31a21c7199a20f55dcb5f6311178e706dd72 (diff) |
keyboard: make the `model` option optional
Also, actually use it in the call to setxkbmap.
Diffstat (limited to '')
-rw-r--r-- | modules/home-environment.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 6321bcb7869..f12e86d4104 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -71,8 +71,8 @@ let }; model = mkOption { - type = types.str; - default = "pc104"; + type = with types; nullOr str; + default = null; example = "presario"; description = '' Keyboard model. |