mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
32 lines
746 B
Nix
32 lines
746 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
config = lib.mkIf config.deploy.profile.kat {
|
|
home.packages = with pkgs; [
|
|
git-crypt
|
|
gitAndTools.gitRemoteGcrypt
|
|
unstable.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";
|
|
annex = {
|
|
autocommit = false;
|
|
backend = "BLAKE2B512";
|
|
synccontent = true;
|
|
};
|
|
};
|
|
signing = {
|
|
key = "01F50A29D4AA91175A11BDB17248991EFA8EFBEE";
|
|
signByDefault = true;
|
|
};
|
|
};
|
|
};
|
|
}
|