diff --git a/home/base/desktop/editors/emacs/default.nix b/home/base/desktop/editors/emacs/default.nix index f9805ddc..fdeab7e7 100644 --- a/home/base/desktop/editors/emacs/default.nix +++ b/home/base/desktop/editors/emacs/default.nix @@ -64,7 +64,10 @@ in { # allow fontconfig to discover fonts and configurations installed through `home.packages` fonts.fontconfig.enable = true; - xdg.configFile."doom".source = ./doom; + xdg.configFile."doom" = { + source = ./doom; + force = true; + }; home.activation = mkIf cfg.doom.enable { installDoomEmacs = lib.hm.dag.entryAfter ["writeBoundary"] '' diff --git a/home/base/desktop/editors/neovim/default.nix b/home/base/desktop/editors/neovim/default.nix index a630b770..38862546 100644 --- a/home/base/desktop/editors/neovim/default.nix +++ b/home/base/desktop/editors/neovim/default.nix @@ -23,7 +23,10 @@ in { # my custom astronvim config, astronvim will load it after base config # https://github.com/AstroNvim/AstroNvim/blob/v3.32.0/lua/astronvim/bootstrap.lua#L15-L16 - "astronvim/lua/user".source = ./astronvim_user; + "astronvim/lua/user" = { + source = ./astronvim_user; + force = true; + }; }; home.shellAliases = shellAliases;