ssh signing
This commit is contained in:
parent
e554e30c05
commit
76edeae5bd
|
@ -40,7 +40,17 @@ in {
|
||||||
home-manager.users.root = { imports = with tree; [ home.base ]; };
|
home-manager.users.root = { imports = with tree; [ home.base ]; };
|
||||||
home-manager.users.chaos = {
|
home-manager.users.chaos = {
|
||||||
programs.ssh.matchBlocks."*".identityFile = "${usb_data.ssh_priv_path}";
|
programs.ssh.matchBlocks."*".identityFile = "${usb_data.ssh_priv_path}";
|
||||||
|
programs.git = {
|
||||||
|
|
||||||
|
extraConfig = {
|
||||||
|
gpg = { format = "ssh"; };
|
||||||
|
user = {
|
||||||
|
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAeN3T1aZkTm5xS0b66cRDyKUbdEQCFyzVWXeW+eIbsa chaos@chaos";
|
||||||
|
};
|
||||||
|
commit = { gpgsign = "true";};
|
||||||
|
tag = { gpgsign = "true";};
|
||||||
|
};
|
||||||
|
};
|
||||||
imports = with tree; [
|
imports = with tree; [
|
||||||
home.base
|
home.base
|
||||||
home.dev.all
|
home.dev.all
|
||||||
|
|
Loading…
Reference in a new issue