Files
nixos/modules/features/git/default.nix
T
2026-08-05 18:57:23 +01:00

15 lines
379 B
Nix

{...}: {
# git user config (~/.config/git or ~/.gitconfig) is managed via stow.
# We only install git + related tooling and enable the gpg agent.
flake.nixosModules.git = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
git
git-secret
];
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-all;
};
};
}