From d19cd6c51e8bbebf20970f040b80ab82d6d686a4 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Thu, 22 Oct 2026 06:32:42 +0000 Subject: [PATCH] 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. --- modules/clan/home-profiles/home-user/emmie.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/modules/clan/home-profiles/home-user/emmie.nix b/modules/clan/home-profiles/home-user/emmie.nix index eaaf34d7..9f72f042 100644 --- a/modules/clan/home-profiles/home-user/emmie.nix +++ b/modules/clan/home-profiles/home-user/emmie.nix @@ -80,15 +80,12 @@ ... }: let - dictionaries = - with pkgs; - (hunspellWithDicts ( - with hunspellDicts; - [ - en-us-large - th-th - ] - )); + dictionaries = pkgs.hunspell.withDicts ( + d: with d; [ + en-us-large + th-th + ] + ); in { imports = [ inputs.plasma-manager.homeModules.plasma-manager ]; @@ -118,6 +115,8 @@ programs.firefox = { enable = true; + # Keep the pre-26.05 profile location; moving it would orphan the existing profile. + configPath = ".mozilla/firefox"; }; programs.home-manager.enable = true;