mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02: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`
|
# allow fontconfig to discover fonts and configurations installed through `home.packages`
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
xdg.configFile."doom".source = ./doom;
|
xdg.configFile."doom" = {
|
||||||
|
source = ./doom;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
|
||||||
home.activation = mkIf cfg.doom.enable {
|
home.activation = mkIf cfg.doom.enable {
|
||||||
installDoomEmacs = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
installDoomEmacs = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
|
|||||||
@@ -23,7 +23,10 @@ in {
|
|||||||
|
|
||||||
# my custom astronvim config, astronvim will load it after base config
|
# 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
|
# 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;
|
home.shellAliases = shellAliases;
|
||||||
|
|||||||
Reference in New Issue
Block a user