From 61cc1354b332324bfdf4ad047e9b98acbdf9bac7 Mon Sep 17 00:00:00 2001 From: Anish L Date: Mon, 29 Nov 2021 22:43:02 +1000 Subject: [PATCH] update git and actually write it to the correct location --- users/profiles/git/config | 4 ++-- users/profiles/git/default.nix | 2 +- users/profiles/git/ignore | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/users/profiles/git/config b/users/profiles/git/config index 32869dc5..060082d9 100644 --- a/users/profiles/git/config +++ b/users/profiles/git/config @@ -1,6 +1,6 @@ [user] - name = Henrik Lissner - email = henrik@lissner.net + name = Anish Lakhwara + email = anish+git@lakhwara.com [core] whitespace = trailing-space [init] diff --git a/users/profiles/git/default.nix b/users/profiles/git/default.nix index 6b246cb1..e34a94d9 100644 --- a/users/profiles/git/default.nix +++ b/users/profiles/git/default.nix @@ -1,5 +1,5 @@ { - home.file = { + xdg.configFile = { "git/config".source = ./config; "git/ignore".source = ./ignore; "git/attributes".source = ./attributes; diff --git a/users/profiles/git/ignore b/users/profiles/git/ignore index 663d047a..6ff1e856 100644 --- a/users/profiles/git/ignore +++ b/users/profiles/git/ignore @@ -9,6 +9,7 @@ .*.sw[a-z] *.un~ .netrwhist +.vim/* # OS generated files # ######################