Update git; Update vim
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
@ -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";
|
||||
};
|
||||
|
||||
|
||||
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
glow
|
||||
ripgrep-all
|
||||
llm
|
||||
#nerdfonts
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user