first attempt at setting up yubikey and commit signing using it (secondary key)

This commit is contained in:
Christoph Hollizeck 2024-06-05 23:14:18 +02:00
parent 4b3e844f56
commit 9aa897d5f0
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1763BB530F50279E
5 changed files with 46 additions and 13 deletions

View file

@ -17,8 +17,7 @@ in
userName = mkOpt types.str user.fullName "The name to configure git with.";
userEmail = mkOpt types.str user.email "The email to configure git with.";
signingKey =
mkOpt types.str "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4iH29edivUi+k94apb6pasWq8qphfhYo0d6B2GhISf"
"The pub key to sign commits with.";
mkOpt types.str "6995A5FF33791B7B" "The pub key to sign commits with.";
signByDefault = mkOpt types.bool true "Whether to sign commits by default.";
};
@ -44,10 +43,6 @@ in
safe = {
directory = "${user.home}/projects/config";
};
gpg = {
format = "ssh";
"ssh".program = "${pkgs._1password-gui}/bin/op-ssh-sign";
};
};
};
};