19 lines
423 B
Nix
Executable File
19 lines
423 B
Nix
Executable File
{ config, pkgs, ... }: {
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
signing = {
|
|
key = "${config.usercfg.git.key}";
|
|
signByDefault = true;
|
|
};
|
|
ignores = [ "*result*" ".direnv" "node_modules" ];
|
|
settings = {
|
|
core.hooksPath = "./.dev/hooks";
|
|
user.email = "${config.usercfg.git.email}";
|
|
user.name = "${config.usercfg.git.username}";
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [ tig ];
|
|
}
|