feat: force install neovim/emacs's user config

This commit is contained in:
Ryan Yin
2024-01-04 20:48:10 +08:00
parent 0a5f4dacba
commit 55efe14c41
2 changed files with 8 additions and 2 deletions

View File

@@ -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"] ''

View File

@@ -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;