1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/users/ellmau/git.nix
Stefan Ellmauthaler c35c47e993 GIT lfs added, FLAKE upd
• Updated input 'emacs-overlay':
  → 'github:nix-community/emacs-overlay/34bbf91130fc793aa87ae8dff75b6a5a88337188' (2021-12-17)
• Updated input 'nixpkgs-unstable':
  → 'github:NixOS/nixpkgs/a2e281f5770247855b85d70c43454ba5bff34613' (2021-12-14)
2021-12-17 12:36:03 +01:00

34 lines
783 B
Nix

{ config, pkgs, ...}:
{
home-manager.users.ellmau = {
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";};
};
lfs.enable = true;
};
gh = {
enable = true;
settings = {
aliases = {};
git_protocol = "ssh";
prompt = "enabled";
};
};
};
};
}