Commit 8db628b38e38
modules/profiles/git.nix
@@ -16,9 +16,8 @@ in
home.packages = with pkgs; [
gist
git-lfs
- gitAndTools.gitflow
+ gitAndTools.git-annex
gitAndTools.hub
- gitAndTools.tig
nur.repos.vdemeester.prm
nur.repos.vdemeester.ape
];
@@ -180,9 +179,8 @@ in
xdg.configFile."git/config.d/redhat.gitconfig".source = ./assets/git/redhat.gitconfig;
xdg.configFile."nr/git" = {
text = builtins.toJSON [
- {cmd = "mr";}
+ {cmd = "mr";} {cmd = "tig";}
{cmd = "grv"; pkg = "gitAndTools.grv";}
- {cmd = "git-annex"; pkg = "gitAndTools.git-annex";}
{cmd = "git-appraise"; pkg = "gitAndTools.git-appraise"; chan = "unstable";}
];
onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr git";
tmp/nixos-configuration/modules/profiles/git.nix
@@ -16,7 +16,8 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
- git
+ gitAndTools.gitFull
+ gitAndTools.git-annex
gitAndTools.git-extras
];
environment.etc."gitconfig" = rec { text = ''
@@ -44,8 +45,8 @@ in
[color "diff"]
meta = white reverse
frag = magenta reverse
- old = red
- new = green
+ old = red
+ new = green
[color "status"]
added = green
changed = yellow
@@ -56,14 +57,14 @@ in
default = matching
[merge]
tool = vimdiff
-
+
[user]
name = Vincent Demeester
email = vincent@sbr.pm
-
+
[http]
cookiefile = /home/vincent/.gitcookies
-
+
[url "git@github.com:"]
pushInsteadOf = git://github.com/
'';