From 509fadd01abff16cf5ee2e5b5fae7841f4f52f36 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Fri, 25 Oct 2019 23:55:17 +0200 Subject: nixos/i18n: use str instead of string for consoleKeyMap --- nixos/modules/config/i18n.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'nixos/modules/config/i18n.nix') 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 = '' -- cgit 1.4.1