mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-07 21:13:03 -04:00
v49 added a bad UI option with no config to change it revert to main once https://github.com/jesseduffield/lazygit/pull/4593 is merged and updated in nixpkgs also refactors lazygit into its own module and removes the config file
56 lines
990 B
Nix
56 lines
990 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./pinned.nix
|
|
./lazygit.nix
|
|
];
|
|
home = {
|
|
packages = with pkgs; [
|
|
git
|
|
act
|
|
gh
|
|
];
|
|
file = {
|
|
ghcli = {
|
|
source = ../../../dotfiles/gh/config.yml;
|
|
target = "./.config/gh/config.yml";
|
|
};
|
|
};
|
|
};
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
userName = "sadan";
|
|
userEmail = "117494111+sadan4@users.noreply.github.com";
|
|
lfs = {
|
|
enable = true;
|
|
};
|
|
extraConfig = {
|
|
gpg = {
|
|
format = "ssh";
|
|
};
|
|
user = {
|
|
signingkey = "~/.ssh/id_ed25519";
|
|
};
|
|
commit = {
|
|
gpgsign = true;
|
|
};
|
|
core = {
|
|
autocrlf = "input";
|
|
};
|
|
pull = {
|
|
rebase = true;
|
|
};
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
rerere = {
|
|
enabled = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|