all repos — nixfiles @ 9dad0ca18a9b689a0e119b33e18fd5bf195c7071

System and user configuration, managed by nix and home-manager

user/modules/satoshipay.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ config, pkgs, ... }:

let
  spGitConfig = {
    user.email = "alan@satoshipay.io";
  };
in
{
  imports = [
    ./javascript.nix
  ];

  programs.git.includes = [
    {
      condition = "gitdir:~/projects/github.com/satoshipay/";
      contents = spGitConfig;
    }
    {
      condition = "gitdir:~/projects/gitlab.satoshipay.tech";
      contents = spGitConfig;
    }
  ];
}