hm/emmie: use hunspell dictionary with systemd user session variables, libreoffice -> libreoffice-qt
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user