home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8ed83c882137223080ef501fcb9a774d14bafb8b
parent 38613ff4f6e03c1b7969c5bf6ba5fdd618d2a7c8
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed,  8 Jan 2020 16:47:39 +0100

git.nix: add more redhat configuration

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/git.nix | 20++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/modules/profiles/git.nix b/modules/profiles/git.nix @@ -24,15 +24,15 @@ in ]; programs.git = { enable = true; - + userName = "Vincent Demeester"; userEmail = "vincent@sbr.pm"; - + signing = { key = "6EB699A3"; signByDefault = false; }; - + aliases = { b = "branch --color -v"; br = "branch"; @@ -111,7 +111,7 @@ in }; "url \"git@github.com:\"".insteadOf = "git://github.com/"; }; - + includes = [ { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; @@ -157,6 +157,18 @@ in path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; condition = "gitdir:${config.home.homeDirectory}/src/github.com/containers/"; } + { + path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; + condition = "gitdir:${config.home.homeDirectory}/src/gitlab.cee.redhat.com/"; + } + { + path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; + condition = "gitdir:${config.home.homeDirectory}/src/gitlab.corp.redhat.com/"; + } + { + path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; + condition = "gitdir:${config.home.homeDirectory}/src/pkg.devel.redhat.com/"; + } ]; ignores = [ "*.elc" "*.vo" "*.aux" "*.v.d" "*.o" "*.a" "*.la" "*.so" "*.dylib"