emmie: fix hunspell and firefox deprecation warnings

hunspellWithDicts -> hunspell.withDicts; pin programs.firefox.configPath
to the legacy .mozilla/firefox so the profile stays put when stateVersion
crosses 26.05.
This commit is contained in:
kurogeek committed 2026-10-22 17:32:15 +07:00
1 parent 862d46b157
commit d19cd6c51e
1 file changed
+5 -6
@@ -80,15 +80,12 @@
... ...
}: }:
let let
dictionaries = dictionaries = pkgs.hunspell.withDicts (
with pkgs; d: with d; [
(hunspellWithDicts (
with hunspellDicts;
[
en-us-large en-us-large
th-th th-th
] ]
)); );
in in
{ {
imports = [ inputs.plasma-manager.homeModules.plasma-manager ]; imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
@@ -118,6 +115,8 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
# Keep the pre-26.05 profile location; moving it would orphan the existing profile.
configPath = ".mozilla/firefox";
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;