signing with ssh key

This commit is contained in:
2026-02-24 16:31:51 +01:00
parent 1e107185b3
commit 56dfeda53e
2 changed files with 9 additions and 1 deletions

View File

@@ -36,6 +36,8 @@
# for git
email = "szymon_jozef@proton.me";
fullName = "Szymon P";
# your public ssh key
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKxyiqawA95AlLjXGd99sQCVR2rDq2/D7PG/vz7sZv5G";
pathConfig = {
wallpaper = "Obrazy/tapety/catppuccin";

View File

@@ -19,11 +19,13 @@
init.defaultBranch = "master";
push.autoSetupRemote = true;
core.editor = "nvim";
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
};
signing = {
key = userConfig.email;
key = userConfig.signingKey;
signByDefault = true;
format = "ssh";
};
ignores = [
@@ -37,6 +39,10 @@
};
home.file.".ssh/allowed_signers".text = ''
${userConfig.email} ${userConfig.signingKey}
'';
programs.delta = {
enable = true;
enableGitIntegration = true;