1{ pkgs, ... }:
2{
3 programs.git = {
4 enable = true;
5 config = {
6 init.defaultBranch = "main";
7 push.autoSetupRemote = true;
8 gpg.ssh.allowedSignersFile = pkgs.writeText "soopyc.allowedsigners" ''
9 me@soopy.moe namespaces="git" ${builtins.readFile ../../creds/ssh/auth}
10 git@soopy.moe namespaces="git" ${builtins.readFile ../../creds/ssh/auth}
11 '';
12
13 rebase.autoStash = true;
14 };
15 };
16}