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