feat: replace home.activation.xxx via home.file.<name>.force

This commit is contained in:
Ryan Yin
2023-12-20 10:45:01 +08:00
parent 29511fa574
commit 58b02a6b16
3 changed files with 11 additions and 22 deletions

View File

@@ -11,7 +11,7 @@
#
# https://git-scm.com/docs/git-config#Documentation/git-config.txt---global
home.activation.removeExistingGitconfig = lib.hm.dag.entryBefore ["checkLinkTargets"] ''
rm -f ~/.gitconfig
rm -f ${config.home.homeDirectory}/.gitconfig
'';
home.packages = with pkgs; [