test #17
1 changed files with 10 additions and 15 deletions
|
@ -33,24 +33,19 @@ in
|
||||||
userEmail = cfg.email;
|
userEmail = cfg.email;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core = {
|
core.autocrlf = "input";
|
||||||
autocrlf = "input";
|
init.defaultBranch = "main";
|
||||||
};
|
pull.rebase = true;
|
||||||
init = {
|
rebase.autoStash = true;
|
||||||
defaultBranch = "main";
|
# public key for signing commits
|
||||||
};
|
user.signingKey = cfg.signingKey;
|
||||||
pull = {
|
# ssh instead of gpg
|
||||||
rebase = true;
|
|
||||||
};
|
|
||||||
rebase = {
|
|
||||||
autoStash = true;
|
|
||||||
};
|
|
||||||
user = {
|
|
||||||
signingKey = cfg.signingKey;
|
|
||||||
};
|
|
||||||
gpg.format = "ssh";
|
gpg.format = "ssh";
|
||||||
# gpg.ssh.program = "/etc/profiles/per-user/jahanson/bin/op-ssh-sign";
|
# gpg.ssh.program = "/etc/profiles/per-user/jahanson/bin/op-ssh-sign";
|
||||||
|
# 1password signing gui git signing
|
||||||
gpg.ssh.program = "${pkgs._1password-gui}/bin/op-ssh-sign";
|
gpg.ssh.program = "${pkgs._1password-gui}/bin/op-ssh-sign";
|
||||||
|
# Auto sign commits without -S
|
||||||
|
commit.gpgsign = true;
|
||||||
};
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
co = "checkout";
|
co = "checkout";
|
||||||
|
|
Reference in a new issue