2024-11-26 17:18:13 -05:00
|
|
|
{ pkgs, config, ... }: {
|
2024-11-26 17:01:58 -05:00
|
|
|
home = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
git
|
|
|
|
lazygit
|
2024-12-03 23:49:29 -05:00
|
|
|
act
|
2024-11-26 17:01:58 -05:00
|
|
|
gh
|
|
|
|
];
|
|
|
|
file = {
|
|
|
|
lazygit = {
|
|
|
|
recursive = true;
|
2024-11-26 17:20:47 -05:00
|
|
|
source = ../../../dotfiles/lazygit;
|
2024-11-26 17:01:58 -05:00
|
|
|
target = "./.config/lazygit";
|
|
|
|
};
|
|
|
|
gh = {
|
2024-11-26 17:20:47 -05:00
|
|
|
source = ../../../dotfiles/gh/config.yml;
|
2024-11-26 17:01:58 -05:00
|
|
|
target = "./.config/gh/config.yml";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
shellAliases = {
|
|
|
|
lg = "lazygit";
|
2024-11-26 17:16:44 -05:00
|
|
|
};
|
2024-11-26 17:17:26 -05:00
|
|
|
sessionVariables = {
|
2024-11-26 17:01:58 -05:00
|
|
|
LG_CONFIG_FILE = "/home/${config.home.username}/.config/lazygit/tokyonight_night.conf";
|
|
|
|
};
|
2024-11-26 17:16:44 -05:00
|
|
|
};
|
2024-10-02 17:19:34 -04:00
|
|
|
programs = {
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "sadan";
|
|
|
|
userEmail = "117494111+sadan4@users.noreply.github.com";
|
2024-12-13 19:50:52 -05:00
|
|
|
lfs = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-10-02 17:19:34 -04:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|