set up ssh signing
This commit is contained in:
parent
6a5bf3373a
commit
5220f24edf
19 changed files with 389 additions and 323 deletions
13
modules/other/git.nix
Normal file
13
modules/other/git.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{config, ...}: let
|
||||
inherit (config.modules.other.system) username;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
programs.git = {
|
||||
signing = {
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPiRe9OH/VtWFWyy5QbAVcN7CLxr4zUtRCwmxD6aeN6";
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig.gpg.format = "ssh";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue