Update git; Update vim
This commit is contained in:
@ -60,6 +60,15 @@
|
|||||||
./user/task_home.nix
|
./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 {
|
"pan" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
|
|||||||
@ -18,10 +18,39 @@
|
|||||||
difftastic.enable = true;
|
difftastic.enable = true;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core = {
|
column.ui = "auto";
|
||||||
editor = "nvim";
|
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";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,14 @@
|
|||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
aerial-nvim
|
||||||
|
zen-mode-nvim
|
||||||
vim-commentary
|
vim-commentary
|
||||||
vim-repeat
|
vim-repeat
|
||||||
vim-surround
|
vim-surround
|
||||||
targets-vim
|
targets-vim
|
||||||
delimitMate
|
delimitMate
|
||||||
vim-startify
|
# vim-startify
|
||||||
vim-windowswap
|
vim-windowswap
|
||||||
vim-nix
|
vim-nix
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
@ -52,6 +54,7 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nodejs-slim
|
nodejs-slim
|
||||||
|
marksman
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
13
nix/user/profiles/martin.nix
Normal file
13
nix/user/profiles/martin.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -79,6 +79,7 @@
|
|||||||
du-dust
|
du-dust
|
||||||
glow
|
glow
|
||||||
ripgrep-all
|
ripgrep-all
|
||||||
|
llm
|
||||||
#nerdfonts
|
#nerdfonts
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user