nixos/modules/shell/git.nix
Nickolaj Jepsen 2466b1bd41 chore: add gh
2025-02-25 08:07:34 +01:00

21 lines
417 B
Nix

{pkgs, ...}: {
environment.systemPackages = with pkgs; [
git
gh
pre-commit
];
fireproof.home-manager.programs.git = {
enable = true;
userEmail = "nickolaj@fireproof.website";
userName = "Nickolaj Jepsen";
includes = [
{
condition = "hasconfig:remote.*.url:*Digital-Udvikling*";
contents = {
user.email = "nij@ao.dk";
};
}
];
};
}