mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-27 20:01:29 +01:00
feat: force install neovim/emacs's user config
This commit is contained in:
@@ -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"] ''
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user