diff --git a/home/hosts/astyanax/default.nix b/home/hosts/astyanax/default.nix index a97d23d..b8e49cd 100644 --- a/home/hosts/astyanax/default.nix +++ b/home/hosts/astyanax/default.nix @@ -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; }; diff --git a/home/modules/git.nix b/home/modules/git.nix index 7dc2601..7f1c33b 100644 --- a/home/modules/git.nix +++ b/home/modules/git.nix @@ -1,3 +1,7 @@ { - enable = true; + programs.git.enable = true; + home.file = { + ".gitconfig".source = ../../dots/.gitconfig; + ".gitignore".source = ../../dots/.gitignore; + }; }