blob: f30d188e50dd592bcb0d842c53e3bcbce0fcfcb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ pkgs, ... }:
let
gitCommitTemplate = ./git-commit-template;
in
{
imports = [
./common.nix
];
programs = {
emacs = {
enable = true;
extraPackages = epkgs: import ./emacs-packages.nix { inherit epkgs; };
};
git = {
enable = true;
userName = "Ben Sima";
userEmail = "bsima@groq.com";
ignores = [ "*~" "*.swp" ];
package = pkgs.gitAndTools.gitFull;
extraConfig = ''
[push]
default = simple
[commit]
template = ${gitCommitTemplate}
'';
};
};
}
|