Loading nixos/modules/i18n/input-method/default.nix +12 −5 Original line number Diff line number Diff line Loading @@ -91,6 +91,12 @@ in The input method method package. ''; }; enableGtk2 = lib.mkEnableOption "Gtk2 support"; enableGtk3 = lib.mkEnableOption "Gtk3 support" // { default = true; }; }; }; Loading @@ -98,11 +104,12 @@ in warnings = lib.optional (cfg.enabled != null) "i18n.inputMethod.enabled will be removed in a future release. Please use .type, and .enable = true instead"; environment.systemPackages = [ environment.systemPackages = [ cfg.package gtk2_cache gtk3_cache ]; ] ++ lib.optional cfg.enableGtk2 gtk2_cache ++ lib.optional cfg.enableGtk3 gtk3_cache; }; meta = { Loading Loading
nixos/modules/i18n/input-method/default.nix +12 −5 Original line number Diff line number Diff line Loading @@ -91,6 +91,12 @@ in The input method method package. ''; }; enableGtk2 = lib.mkEnableOption "Gtk2 support"; enableGtk3 = lib.mkEnableOption "Gtk3 support" // { default = true; }; }; }; Loading @@ -98,11 +104,12 @@ in warnings = lib.optional (cfg.enabled != null) "i18n.inputMethod.enabled will be removed in a future release. Please use .type, and .enable = true instead"; environment.systemPackages = [ environment.systemPackages = [ cfg.package gtk2_cache gtk3_cache ]; ] ++ lib.optional cfg.enableGtk2 gtk2_cache ++ lib.optional cfg.enableGtk3 gtk3_cache; }; meta = { Loading