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:
1 parent
c9ae6b221b
commit
0e587f4645
1 file changed
+8
-9
@@ -80,15 +80,12 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
dictionaries =
|
dictionaries = pkgs.hunspell.withDicts (
|
||||||
with pkgs;
|
d: with d; [
|
||||||
(hunspellWithDicts (
|
en-us-large
|
||||||
with hunspellDicts;
|
th-th
|
||||||
[
|
]
|
||||||
en-us-large
|
);
|
||||||
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;
|
||||||
|
|||||||
Reference in new issue
Block a user