Update git; Update vim

This commit is contained in:
Martin
2025-02-25 14:29:55 +01:00
parent 8e8b47151f
commit c373f5fcfd
5 changed files with 59 additions and 4 deletions

View File

@ -60,6 +60,15 @@
./user/task_home.nix
];
};
"martin" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./user/profiles/martin.nix
./common.nix
./user/task_home.nix
];
};
"pan" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;

View File

@ -18,10 +18,39 @@
difftastic.enable = true;
extraConfig = {
core = {
editor = "nvim";
column.ui = "auto";
branch.sort = "-comitterdate";
tag.sort = "version:refname";
diff = {
algorithm = "histogram";
colorMoved = "plain";
mnemonicPrefix = "true";
renames = "true";
};
push.default = "matching";
pull.rebase = "true";
push = {
default = "simple";
autoSetupRemote = "true";
followTags = "true";
};
fetch = {
prune = "true";
pruneTags = "true";
all = "true";
};
help.autocorrect = "prompt";
commit.verbose = "true";
rerere = {
enabled = "true";
autoupdate = "true";
};
rebase = {
autoSquas = "true";
autoStash = "true";
updateRefs = "true";
};
merge.conflictstyle = "zdiff3";
core.editor = "nvim";
init.defaultBranch = "main";
};

View File

@ -8,12 +8,14 @@
vimAlias = true;
plugins = with pkgs.vimPlugins; [
aerial-nvim
zen-mode-nvim
vim-commentary
vim-repeat
vim-surround
targets-vim
delimitMate
vim-startify
# vim-startify
vim-windowswap
vim-nix
plenary-nvim
@ -52,6 +54,7 @@
home.packages = with pkgs; [
nodejs-slim
marksman
];
}

View File

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
home.username = "martin";
home.homeDirectory = "/Users/martin";
home.stateVersion = "24.05"; # Please read the comment before changing.
programs.git = {
userName = "Martin";
userEmail = "git@pander-on.de";
};
}

View File

@ -79,6 +79,7 @@
du-dust
glow
ripgrep-all
llm
#nerdfonts
];