refactor: extract 'dotsPath' for 'dots' path

This commit is contained in:
2026-01-20 15:35:24 +01:00
parent b6453330bf
commit 24ed3f03cd
6 changed files with 26 additions and 22 deletions

View File

@@ -1,8 +1,10 @@
{ dotsPath, ... }:
{
programs.git.enable = true;
home.file = {
".gitconfig".source = ../../dots/.gitconfig;
".gitconfig.work".source = ../../dots/.gitconfig.work;
".gitignore".source = ../../dots/.gitignore;
".gitconfig".source = dotsPath + "/.gitconfig";
".gitconfig.work".source = dotsPath + "/.gitconfig.work";
".gitignore".source = dotsPath + "/.gitignore";
};
}