Add gitconfig and gitignore to git home module

main
Hektor Misplon 2025-11-17 19:15:09 +01:00
parent 6e93f8cb39
commit 2793aa4e59
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,7 @@
{
imports = [
../../modules/dconf.nix # TODO: Only enable when on Gnome?
../../modules/git.nix
];
home.stateVersion = "25.05";
@ -41,7 +42,6 @@
enable = true;
enableBashIntegration = true;
};
git = import ../../modules/git.nix;
home-manager.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
};

View File

@ -1,3 +1,7 @@
{
enable = true;
programs.git.enable = true;
home.file = {
".gitconfig".source = ../../dots/.gitconfig;
".gitignore".source = ../../dots/.gitignore;
};
}