diff --git a/dotfiles/.gitconfig b/dotfiles/.gitconfig index 92aabb7..306f6e7 100644 --- a/dotfiles/.gitconfig +++ b/dotfiles/.gitconfig @@ -10,3 +10,6 @@ [pull] rebase = true + +[core] + excludesFile = /Users/trueberryless/.gitignore diff --git a/dotfiles/.gitignore b/dotfiles/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/dotfiles/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/modules/home-manager.nix b/modules/home-manager.nix index 89a06d7..66354da 100644 --- a/modules/home-manager.nix +++ b/modules/home-manager.nix @@ -12,6 +12,7 @@ home.file = { ".gitconfig".source = ../dotfiles/.gitconfig; + ".gitignore".source = ../dotfiles/.gitignore; ".zshrc".source = ../dotfiles/.zshrc; "oh-my-posh.omp.json".source = ../dotfiles/oh-my-posh.omp.json; };