diff --git a/home-manager/common/software/cli/ssh.nix b/home-manager/common/software/cli/ssh.nix index 967ade41..64644505 100644 --- a/home-manager/common/software/cli/ssh.nix +++ b/home-manager/common/software/cli/ssh.nix @@ -4,5 +4,9 @@ home.file.".ssh/config".text = '' Host 192.168.1.210 StrictHostKeyChecking no + Host + Hostname framework-server + StreamLocalBindUnlink yes + RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra ''; -} \ No newline at end of file +} diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index 3d21b0be..b91071b6 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -20,6 +20,13 @@ gnupg.sshKeyPaths = []; }; + programs.gpg.publicKeys = [ + { + source = ../../../keys/users/albert.asc; + trust = "ultimate"; + } + ]; + accounts = { email = { accounts."sysctl" = {