This commit is contained in:
2025-04-20 13:54:34 +03:00
parent 07c7d4ff53
commit e2545d8e3d
7 changed files with 20 additions and 9 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
{
# imports = [./mail.nix ./encryption.nix];
imports = [./mail.nix];
imports = [./mail.nix ./encryption.nix];
}
+9 -1
View File
@@ -19,8 +19,16 @@ in {
home.packages = with pkgs; [
yubikey-personalization
gnupg
pinentry-gtk2
];
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
home.file.".ssh/config".source = ./ssh-config;
home.file.".ssh/gpg-as-ssh.pub".source = ./gpg-as-ssh.pub;