Anyone got a working #GPG #git commit signing example for a #macos using #homemanager #nixdarwin
Currently getting the following error:
error: gpg failed to sign the data:
gpg: skipped "$USER": No secret key
Edited 4d ago
Anyone got a working #GPG #git commit signing example for a #macos using #homemanager #nixdarwin
Currently getting the following error:
error: gpg failed to sign the data:
gpg: skipped "$USER": No secret key
Mine didn't require more than:
```
programs.git = {
enable = true;
signing = {
key = "0x975BE5BC29D92CA5";
signByDefault = true;
};
}
programs.gpg = true;
```
Works as a home module in both Darwin and NixOS.