summaryrefslogtreecommitdiffstats
path: root/systems
diff options
context:
space:
mode:
Diffstat (limited to 'systems')
-rw-r--r--systems/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/systems/default.nix b/systems/default.nix
index c10c94e..8248e36 100644
--- a/systems/default.nix
+++ b/systems/default.nix
@@ -140,7 +140,12 @@ audio_output {
# List services that you want to enable:
# Enable the OpenSSH daemon.
- # services.openssh.enable = true;
+ services.openssh.enable = true;
+
+ environment.shellInit = ''
+gpg-connect-agent /bye
+export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+ '';
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];