Fix git config

This commit is contained in:
askiiart 2024-03-04 14:02:57 -06:00
parent 38546da9cc
commit fb90089380
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67

View file

@ -4,4 +4,20 @@
home.sessionVariables = { home.sessionVariables = {
DOTNET_ROOT = "${pkgs.dotnet-runtime_7}"; DOTNET_ROOT = "${pkgs.dotnet-runtime_7}";
}; };
programs.git = {
enable = true;
lfs.enable = true;
userName = "askiiart";
userEmail = "dev@askiiart.net";
extraConfig = {
commit.gpgsign = true;
user.signingkey = "02EFA1CE3C3E4AAD7A863AB8ED24985CA884CD61";
push = { autoSetupRemote = true; };
credential = {
credentialStore = "gpg";
helper = "${pkgs.git-credential-manager}/bin/git-credential-manager";
};
};
};
} }