Files
nixos-config/home/shell/git.nix
2024-11-05 17:36:01 -04:00

30 lines
485 B
Nix

{pkgs, ...}: {
home.packages = with pkgs; [
gh
];
programs.lazygit = {
enable = true;
};
programs.git = {
enable = true;
userName = "Thomas Syms";
userEmail = "thomassyms@gmail.com";
extraConfig = {
credential.helper = "${
pkgs.git.override {withLibsecret = true;}
}/bin/git-credential-libsecret";
};
};
home.shellAliases = {
lgit = "lazygit";
};
programs.nushell.shellAliases = {
lgit = "lazygit";
};
}