summaryrefslogtreecommitdiff
path: root/modules/nixos/common
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/common')
-rw-r--r--modules/nixos/common/locale.nix18
-rw-r--r--modules/nixos/common/stylix.nix2
2 files changed, 14 insertions, 6 deletions
diff --git a/modules/nixos/common/locale.nix b/modules/nixos/common/locale.nix
index 699f89b..0f79cb7 100644
--- a/modules/nixos/common/locale.nix
+++ b/modules/nixos/common/locale.nix
@@ -1,4 +1,9 @@
-{ lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
with lib;
{
i18n = {
@@ -13,10 +18,13 @@ with lib;
inputMethod = {
enabled = "fcitx5";
- fcitx5.addons = with pkgs; [
- fcitx5-configtool
- fcitx5-mozc
- ];
+ fcitx5 = {
+ addons = with pkgs; [
+ fcitx5-configtool
+ fcitx5-mozc
+ ];
+ waylandFrontend = config.nixfiles.modules.wayland.enable;
+ };
};
};
diff --git a/modules/nixos/common/stylix.nix b/modules/nixos/common/stylix.nix
index a89943a..58b4f29 100644
--- a/modules/nixos/common/stylix.nix
+++ b/modules/nixos/common/stylix.nix
@@ -10,7 +10,7 @@ with lib;
imports = [ inputs.stylix.nixosModules.stylix ];
stylix.cursor = {
- name = "phinger-cursors";
+ name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 32;
};