1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

gh home manager

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-11-10 12:03:11 +01:00
parent 588933d7a8
commit c587ed27a8
3 changed files with 26 additions and 15 deletions

View File

@ -0,0 +1 @@
{"aliases":{},"editor":"","git_protocol":"ssh", "prompt":"enabled"}

View File

@ -1,19 +1,31 @@
{ config, pkgs, ...}:
{
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "Stefan Ellmauthaler";
userEmail = "stefan.ellmauthaler@tu-dresden.de";
extraConfig = {
core = { editor = "emacsclient"; };
gpg = {
format = "x509";
program = "gpgsm";
programs= {
git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "Stefan Ellmauthaler";
userEmail = "stefan.ellmauthaler@tu-dresden.de";
extraConfig = {
core = { editor = "emacsclient"; };
gpg = {
format = "x509";
program = "gpgsm";
};
user = { signingKey = "0x4998BEEE"; };
init = { defaultBranch = "main";};
branch = { autosetuprebase = "always";};
};
user = { signingKey = "0x4998BEEE"; };
init = { defaultBranch = "main";};
branch = { autosetuprebase = "always";};
};
gh = {
enable = true;
};
};
xdg = {
configFile."gh/config.yml" = {
source = conf/gh/config.yml;
};
};
}

View File

@ -22,8 +22,6 @@
pkgs.nixpkgs-fmt
pkgs.nix-prefetch-github
pkgs.gh
pkgs.neofetch
pkgs.jitsi-meet-electron