diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-02-27 07:47:37 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-02-28 07:12:55 -0600 |
commit | c62bf00442fa2af30feb50eafd3cf19c10077203 (patch) | |
tree | 95707d20459aa8946c220d48f42ea2c63f822c6b /nixos/modules/programs | |
parent | 3a8a887cfd4b62e24353e29f173e0272a3ca6f3a (diff) | |
download | nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar.gz nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar.bz2 nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar.lz nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar.xz nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.tar.zst nixlib-c62bf00442fa2af30feb50eafd3cf19c10077203.zip |
nixos: remove top-level uim option
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/uim.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nixos/modules/programs/uim.nix b/nixos/modules/programs/uim.nix deleted file mode 100644 index 4bf2f9a17571..000000000000 --- a/nixos/modules/programs/uim.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, 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"; - }; - }; - - }; - - config = mkIf cfg.enable { - environment.systemPackages = [ pkgs.uim ]; - gtkPlugins = [ pkgs.uim ]; - qtPlugins = [ pkgs.uim ]; - environment.variables.GTK_IM_MODULE = "uim"; - environment.variables.QT_IM_MODULE = "uim"; - environment.variables.XMODIFIERS = "@im=uim"; - services.xserver.displayManager.sessionCommands = "uim-xim &"; - }; -} |