diff options
author | Alan Pearce | 2019-10-02 23:32:01 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-02 23:43:46 +0200 |
commit | 01aa4a15598441d577525b6a160bdf1fe8fe183b (patch) | |
tree | 53b87027bd3410f00fcd15c923a037cfda34c087 /user/modules/satoshipay.nix | |
parent | 1def90473958ef5288345b4d81ee0db990f09317 (diff) | |
download | nixfiles-01aa4a15598441d577525b6a160bdf1fe8fe183b.tar.lz nixfiles-01aa4a15598441d577525b6a160bdf1fe8fe183b.tar.zst nixfiles-01aa4a15598441d577525b6a160bdf1fe8fe183b.zip |
Migrate git config to home-manager
Diffstat (limited to 'user/modules/satoshipay.nix')
-rw-r--r-- | user/modules/satoshipay.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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; + } + ]; +} |