added forgit

nixos
Moritz Böhme 2021-10-31 19:45:06 +01:00
parent 9b0f85abc5
commit d488882f45
4 changed files with 30 additions and 0 deletions

View File

@ -48,6 +48,22 @@
"type": "github"
}
},
"forgit-git": {
"flake": false,
"locked": {
"lastModified": 1635245145,
"narHash": "sha256-jbrn8cIHQFmceofCVA1TjRPQL5hRdGFgxLfeIZE6Z7k=",
"owner": "wfxr",
"repo": "forgit",
"rev": "b727321f2bd3d79c1dae805441261c45888cbb41",
"type": "github"
},
"original": {
"owner": "wfxr",
"repo": "forgit",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs_2"
@ -144,6 +160,7 @@
"inputs": {
"agenix": "agenix",
"emacs-overlay": "emacs-overlay",
"forgit-git": "forgit-git",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_3",
"nur": "nur",

View File

@ -19,6 +19,10 @@
url = "github:jonaburg/picom";
flake = false;
};
forgit-git = {
url = "github:wfxr/forgit";
flake = false;
};
};
outputs = inputs@{ self, agenix, home-manager, nixpkgs, utils, ... }:

View File

@ -7,6 +7,7 @@ let
userName = "MoritzBoehme";
userEmail = "mr.x@moritzboeh.me";
extraConfig = { init.defaultBranch = "main"; };
delta.enable = true;
};
});
in { home-manager.users.moritz = { ... }: (base "/home/moritz"); }

View File

@ -16,9 +16,17 @@ let
enableAutosuggestions = true;
enableCompletion = true;
initExtra = ''export DIRENV_LOG_FORMAT=""'';
plugins = [{
name = "forgit";
src = inputs.forgit-git;
}];
};
exa.enable = true;
bat.enable = true;
fzf = {
enable = true;
enableZshIntegration = true;
};
starship = {
enable = true;