From 82ecebd7314e1234db04430e0cabb559738dada7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 20 Nov 2014 02:15:50 +0100 Subject: common-workstation: Switch to vuizvui Git module. Yay, no .gitconfig anymore :-) Signed-off-by: aszlig --- common-workstation.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'common-workstation.nix') diff --git a/common-workstation.nix b/common-workstation.nix index 91fdd4fd..7d66a713 100644 --- a/common-workstation.nix +++ b/common-workstation.nix @@ -50,6 +50,28 @@ in { vuizvui.vlock.enable = true; vuizvui.zsh.enable = true; + vuizvui.git.enable = true; + vuizvui.git.config = { + color.ui = "auto"; + merge.tool = "vimdiff3"; + user.email = "aszlig@redmoonstudios.org"; + user.name = "aszlig"; + user.signkey = "8C2DC961"; + gpg.program = "${pkgs.gnupg}/bin/gpg2"; + push.default = "current"; + tar."tar.xz".command = "${pkgs.xz}/bin/xz -c"; + rebase.autosquash = true; + rerere.enabled = true; + rerere.autoupdate = true; + commit.gpgsign = true; + + alias.backport = let + release = "14.04"; + message = "Merge release ${release} into backports."; + in "!git fetch upstream release-${release} &&" + + " git merge -m \"${message}\" --log FETCH_HEAD"; + }; + services = { openssh = { enable = true; -- cgit 1.4.1