task | reformatted with nixfmt

This commit is contained in:
Don Harper 2024-12-13 11:50:29 -06:00
parent e3fea64660
commit c3a0a0847f
119 changed files with 1010 additions and 2135 deletions

View file

@ -1,13 +1,5 @@
{
pkgs,
config,
...
}: {
programs.lazygit = {
settings = {
os.editPreset = "lvim";
};
};
{ pkgs, config, ... }: {
programs.lazygit = { settings = { os.editPreset = "lvim"; }; };
programs.git = {
enable = true;
aliases = {
@ -17,9 +9,7 @@
st = "status";
last = "cat-file commit HEAD";
};
diff-so-fancy = {
enable = true;
};
diff-so-fancy = { enable = true; };
extraConfig = {
core = {
user = "Don Harper";
@ -27,9 +17,7 @@
editor = "${pkgs.lunarvim}/bin/lvim";
sshCommand = "${pkgs.openssh}/bin/ssh -i ~/.ssh/git";
};
safe = {
directory = "/home/don/src/nixos/duckland/.git";
};
safe = { directory = "/home/don/src/nixos/duckland/.git"; };
status = {
submoduleSummary = "true";
short = "true";
@ -38,21 +26,14 @@
name = "Don Harper";
email = "duck@duckland.org";
};
push = {
default = "simple";
};
pull = {
rebase = "false";
};
push = { default = "simple"; };
pull = { rebase = "false"; };
git-extras = {
github-personal-access-token = "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";
};
fetch = {
prune = "true";
};
init = {
defaultBranch = "main";
github-personal-access-token =
"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";
};
fetch = { prune = "true"; };
init = { defaultBranch = "main"; };
credential = {
"https://github.com" = {
helper = "!${pkgs.gh}/bin/gh auth git-credential";