mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
10
home/programs/git/signing.nix
Normal file
10
home/programs/git/signing.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
_: {
|
||||
home.file.".ssh/allowed_signers".text =
|
||||
"* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINhWby7lUUXQNKbRu9/UOrGjWDf3fvoAwGHomWv/+lL";
|
||||
programs.git.extraConfig = {
|
||||
commit.gpgsign = true;
|
||||
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||
gpg.format = "ssh";
|
||||
user.signingkey = "~/.ssh/key.pub";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user