Add gitconfig and gitignore to git home module
parent
6e93f8cb39
commit
2793aa4e59
|
|
@ -8,6 +8,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||||
|
../../modules/git.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|
@ -41,7 +42,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
};
|
};
|
||||||
git = import ../../modules/git.nix;
|
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
keepassxc = import ../../modules/keepassxc.nix;
|
keepassxc = import ../../modules/keepassxc.nix;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
{
|
{
|
||||||
enable = true;
|
programs.git.enable = true;
|
||||||
|
home.file = {
|
||||||
|
".gitconfig".source = ../../dots/.gitconfig;
|
||||||
|
".gitignore".source = ../../dots/.gitignore;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue