mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
11 lines
325 B
Nix
11 lines
325 B
Nix
_: {
|
|
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";
|
|
};
|
|
}
|