Update signing to GPG instead of SSH

This commit is contained in:
thiloho
2023-05-15 22:45:58 +02:00
parent 7a3bf3bf78
commit a6f1d07546

View File

@@ -45,6 +45,12 @@
extraGroups = [ "wheel" "networkmanager" ];
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gtk2";
};
# Home manager configuration
home-manager.users.thiloho = { pkgs, ... }: {
programs = {
@@ -70,10 +76,9 @@
userName = "thiloho";
userEmail = "123883702+thiloho@users.noreply.github.com";
signing = {
key = "/home/thiloho/.ssh/id_ed25519.pub";
key = "29791D54E85BEE9E";
signByDefault = true;
};
extraConfig.gpg.format = "ssh";
};
gh.enable = true;
};
@@ -83,6 +88,7 @@
packages = with pkgs; [
zoom-us
libreoffice
google-chrome
];
};
};