Migrate to snowfall lib
This commit is contained in:
16
modules/home/cli/git/default.nix
Executable file
16
modules/home/cli/git/default.nix
Executable file
@ -0,0 +1,16 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "${config.homecfg.git.email}";
|
||||
userName = "${config.homecfg.git.username}";
|
||||
signing = {
|
||||
key = "${config.homecfg.git.key}";
|
||||
signByDefault = true;
|
||||
};
|
||||
ignores = [ "*result*" ".direnv" "node_modules" ];
|
||||
extraConfig = { core.hooksPath = "./.dev/hooks"; };
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ tig ];
|
||||
}
|
Reference in New Issue
Block a user