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:
parent
588933d7a8
commit
c587ed27a8
1
users/ellmau/conf/gh/config.yml
Normal file
1
users/ellmau/conf/gh/config.yml
Normal file
@ -0,0 +1 @@
|
||||
{"aliases":{},"editor":"","git_protocol":"ssh", "prompt":"enabled"}
|
||||
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -22,8 +22,6 @@
|
||||
pkgs.nixpkgs-fmt
|
||||
pkgs.nix-prefetch-github
|
||||
|
||||
pkgs.gh
|
||||
|
||||
pkgs.neofetch
|
||||
|
||||
pkgs.jitsi-meet-electron
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user