home

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

commit 855b015addd9c42d72f21d97696fa52b491d3441
parent 2a7d23f8a1ee0e99c50b1dabce5e8c1c772e3a27
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 25 Apr 2019 16:39:10 +0200

profiles.git: less, smarter includeIf

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

Diffstat:
Mmodules/profiles/git.nix | 18+++---------------
1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/modules/profiles/git.nix b/modules/profiles/git.nix @@ -127,11 +127,7 @@ in } { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/google/"; - } - { - path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/GoogleContainerTools/"; + condition = "gitdir/i:${config.home.homeDirectory}/src/github.com/google**"; } { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; @@ -147,19 +143,11 @@ in } { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/openshift/"; - } - { - path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/operator-framework/"; - } - { - path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/openshift-knative/"; + condition = "gitdir:${config.home.homeDirectory}/src/github.com/openshift**"; } { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig"; - condition = "gitdir:${config.home.homeDirectory}/src/github.com/redhat-developer/"; + condition = "gitdir:${config.home.homeDirectory}/src/github.com/redhat**"; } { path = "${config.xdg.configHome}/git/config.d/redhat.gitconfig";