From 1ed4578b51156e8a29ec576b8dbb53e0815aeb27 Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 14 Mar 2021 02:57:26 +0000 Subject: [PATCH] Git plugins, config changes --- config/profiles/kat/home/git.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/config/profiles/kat/home/git.nix b/config/profiles/kat/home/git.nix index 8f20ba43..60247ad4 100644 --- a/config/profiles/kat/home/git.nix +++ b/config/profiles/kat/home/git.nix @@ -2,14 +2,27 @@ { config = lib.mkIf config.deploy.profile.kat { - home.packages = with pkgs; [ git-crypt gitAndTools.gitRemoteGcrypt ]; + home.packages = with pkgs; [ + git-crypt + gitAndTools.gitRemoteGcrypt + gitAndTools.gitAnnex + git-revise + arc.pkgs.gitAndTools.git-annex-remote-b2 + ]; programs.git = { enable = true; package = pkgs.gitAndTools.gitFull; userName = "kat witch"; userEmail = "kat@kittywit.ch"; - extraConfig = { protocol.gcrypt.allow = "always"; }; + extraConfig = { + protocol.gcrypt.allow = "always"; + annex = { + autocommit = false; + backend = "SHA256"; + synccontent = true; + }; + }; signing = { key = "01F50A29D4AA91175A11BDB17248991EFA8EFBEE"; signByDefault = true;