From 01aa4a15598441d577525b6a160bdf1fe8fe183b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 2 Oct 2019 23:32:01 +0200 Subject: Migrate git config to home-manager --- user/modules/satoshipay.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 user/modules/satoshipay.nix (limited to 'user/modules/satoshipay.nix') diff --git a/user/modules/satoshipay.nix b/user/modules/satoshipay.nix new file mode 100644 index 00000000..6feefbbb --- /dev/null +++ b/user/modules/satoshipay.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: + +let + spGitConfig = { + user.email = "alan@satoshipay.io"; + }; +in +{ + programs.git.includes = [ + { + condition = "gitdir:~/projects/github.com/satoshipay/"; + contents = spGitConfig; + } + { + condition = "gitdir:~/projects/gitlab.satoshipay.tech"; + contents = spGitConfig; + } + ]; +} -- cgit 1.4.1