feat: use gpg key for ssh

This commit is contained in:
Michael Mandl 2024-05-30 10:07:22 +02:00
parent 5261e4691e
commit 7d326185a1
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -5,12 +5,14 @@
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
pinentryFlavor = "gnome3"; pinentryFlavor = "gnome3";
enableSshSupport = true;
sshKeys = [ "1F937AC8F77ED74CE24EAAE79B5601F73C6D115F" ];
}; };
programs.gpg = { programs.gpg = {
enable = true; enable = true;
mutableKeys = false; mutableKeys = true;
mutableTrust = false; mutableTrust = true;
publicKeys = [{ publicKeys = [{
source = ./pubring.asc; source = ./pubring.asc;
trust = "ultimate"; trust = "ultimate";