diff options
Diffstat (limited to 'nixos/modules/programs/uim.nix')
-rw-r--r-- | nixos/modules/programs/uim.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/modules/programs/uim.nix b/nixos/modules/programs/uim.nix index 237da3415dc..4bf2f9a1757 100644 --- a/nixos/modules/programs/uim.nix +++ b/nixos/modules/programs/uim.nix @@ -1,20 +1,22 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: -with pkgs.lib; +with lib; let cfg = config.uim; in { options = { + uim = { enable = mkOption { type = types.bool; default = false; example = true; - description = "enable UIM input method"; + description = "Enable UIM input method"; }; }; + }; config = mkIf cfg.enable { |