mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Update signing to GPG instead of SSH
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user