hm/emmie: use hunspell dictionary with systemd user session variables, libreoffice -> libreoffice-qt
This commit is contained in:
@@ -79,14 +79,32 @@
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
dictionaries =
|
||||
with pkgs;
|
||||
(hunspellWithDicts (
|
||||
with hunspellDicts;
|
||||
[
|
||||
en-us-large
|
||||
th-th
|
||||
]
|
||||
));
|
||||
in
|
||||
{
|
||||
imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
|
||||
|
||||
systemd.user.sessionVariables = {
|
||||
DICPATH = "${dictionaries}/share/hunspell";
|
||||
};
|
||||
|
||||
home = {
|
||||
homeDirectory = lib.mkForce "/home/${username}";
|
||||
stateVersion = osConfig.system.stateVersion;
|
||||
|
||||
packages = with pkgs; [
|
||||
libreoffice-fresh
|
||||
libreoffice-qt6
|
||||
dictionaries
|
||||
|
||||
element-desktop
|
||||
signal-desktop
|
||||
brave
|
||||
@@ -95,9 +113,6 @@
|
||||
thunderbird
|
||||
wasabiwallet
|
||||
protonmail-desktop
|
||||
|
||||
hunspellDicts.en-us-large
|
||||
hunspellDicts.th-th
|
||||
];
|
||||
};
|
||||
programs.chromium.package = pkgs.brave;
|
||||
|
||||
Reference in New Issue
Block a user