From c62bf00442fa2af30feb50eafd3cf19c10077203 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 27 Feb 2016 07:47:37 -0600 Subject: [PATCH] nixos: remove top-level uim option --- nixos/modules/module-list.nix | 1 - nixos/modules/programs/uim.nix | 31 ------------------------------- 2 files changed, 32 deletions(-) delete mode 100644 nixos/modules/programs/uim.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 738b52854de..ad1636e002d 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -77,7 +77,6 @@ ./programs/shell.nix ./programs/ssh.nix ./programs/ssmtp.nix - ./programs/uim.nix ./programs/venus.nix ./programs/wvdial.nix ./programs/xfs_quota.nix diff --git a/nixos/modules/programs/uim.nix b/nixos/modules/programs/uim.nix deleted file mode 100644 index 4bf2f9a1757..00000000000 --- 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 &"; - }; -}