diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-10-25 23:55:17 +0200 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-10-26 00:07:55 +0200 |
commit | 509fadd01abff16cf5ee2e5b5fae7841f4f52f36 (patch) | |
tree | bf8b5920bcd7bab9ce773db47124564d38a622f1 /nixos/modules/config | |
parent | 78763398c3ea94fd22c4e8c462bc5624e6bde822 (diff) |
nixos/i18n: use str instead of string for consoleKeyMap
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/i18n.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/config/i18n.nix b/nixos/modules/config/i18n.nix index dc7305b1ba24..d0db8fedecd8 100644 --- a/nixos/modules/config/i18n.nix +++ b/nixos/modules/config/i18n.nix @@ -89,11 +89,7 @@ with lib; }; consoleKeyMap = mkOption { - type = mkOptionType { - name = "string or path"; - check = t: (isString t || types.path.check t); - }; - + type = with types; either str path; default = "us"; example = "fr"; description = '' |