rearrange DE modules

This commit is contained in:
Yan Lin 2025-11-05 11:03:46 +01:00
parent 9caeac0da8
commit 77fc760e3d
5 changed files with 100 additions and 84 deletions

View file

@ -80,6 +80,31 @@ in
};
};
# Input method configuration for GNOME
i18n.inputMethod = {
enable = true;
type = "ibus";
ibus.engines = with pkgs.ibus-engines; [
libpinyin # Chinese Simplified Pinyin
mozc # Japanese (Romaji)
];
};
# GNOME dconf settings
programs.dconf.profiles.user.databases = [{
settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
};
"org/gnome/desktop/a11y/applications" = {
screen-keyboard-enabled = true;
};
"org/gnome/desktop/peripherals/mouse" = {
accel-profile = "flat";
};
};
}];
# System packages for GNOME
environment.systemPackages = with pkgs; [
hicolor-icon-theme # Fallback icon theme