ssh signing

This commit is contained in:
ChaotiCryptidz 2022-02-16 09:24:00 +00:00
parent e554e30c05
commit 76edeae5bd
No known key found for this signature in database

View file

@ -40,7 +40,17 @@ in {
home-manager.users.root = { imports = with tree; [ home.base ]; };
home-manager.users.chaos = {
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; [
home.base
home.dev.all