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, ...}: { config, pkgs, ...}:
{ {
programs.git = { programs= {
enable = true; git = {
package = pkgs.gitAndTools.gitFull; enable = true;
userName = "Stefan Ellmauthaler"; package = pkgs.gitAndTools.gitFull;
userEmail = "stefan.ellmauthaler@tu-dresden.de"; userName = "Stefan Ellmauthaler";
extraConfig = { userEmail = "stefan.ellmauthaler@tu-dresden.de";
core = { editor = "emacsclient"; }; extraConfig = {
gpg = { core = { editor = "emacsclient"; };
format = "x509"; gpg = {
program = "gpgsm"; 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.nixpkgs-fmt
pkgs.nix-prefetch-github pkgs.nix-prefetch-github
pkgs.gh
pkgs.neofetch pkgs.neofetch
pkgs.jitsi-meet-electron pkgs.jitsi-meet-electron