hm/emmie: use hunspell dictionary with systemd user session variables, libreoffice -> libreoffice-qt

This commit is contained in:
2026-06-16 11:20:05 +07:00
parent 8e64e88d8f
commit 2b239eb162
+19 -4
View File
@@ -79,14 +79,32 @@
inputs, inputs,
... ...
}: }:
let
dictionaries =
with pkgs;
(hunspellWithDicts (
with hunspellDicts;
[
en-us-large
th-th
]
));
in
{ {
imports = [ inputs.plasma-manager.homeModules.plasma-manager ]; imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
systemd.user.sessionVariables = {
DICPATH = "${dictionaries}/share/hunspell";
};
home = { home = {
homeDirectory = lib.mkForce "/home/${username}"; homeDirectory = lib.mkForce "/home/${username}";
stateVersion = osConfig.system.stateVersion; stateVersion = osConfig.system.stateVersion;
packages = with pkgs; [ packages = with pkgs; [
libreoffice-fresh libreoffice-qt6
dictionaries
element-desktop element-desktop
signal-desktop signal-desktop
brave brave
@@ -95,9 +113,6 @@
thunderbird thunderbird
wasabiwallet wasabiwallet
protonmail-desktop protonmail-desktop
hunspellDicts.en-us-large
hunspellDicts.th-th
]; ];
}; };
programs.chromium.package = pkgs.brave; programs.chromium.package = pkgs.brave;