{ inputs, pkgs, lib, config, machineName, ... }: let inherit (config.security) gnupg; rootKey = "root/key"; keygrip = "9AA84E6F6D71F9163C46BF396B141A0806219077"; in { security.gnupg.store = inputs.pass + "/machines/${machineName}"; environment.memoryAllocator.provider = "libc"; services.openssh.extraConfig = '' # This is for removing remote gpg-agent's socket StreamLocalBindUnlink yes ''; /* installer.ssh-nixos = { PATH = [pkgs.gnupg pkgs.openssh]; sshFlags = [ #"-R" "/var/lib/gnupg/S.gpg-agent.extra:/run/user/1000/gnupg/d.w1sj57hx3zfcwadyxpr6wko9/S.gpg-agent.extra" #"-o" "StreamLocalBindUnlink=yes" ]; }; */ }