diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-23 18:17:48 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-23 18:17:48 -0400 |
commit | 5d738414d3056171ac5ccb34445db2d79dd792f1 (patch) | |
tree | cfb480c98d930d32b58bcce72de525a47084ff9d /systems | |
parent | 58eee0458fe2c6976a3982c5b9a3e4919f13adcb (diff) | |
download | nix-config-5d738414d3056171ac5ccb34445db2d79dd792f1.tar.gz nix-config-5d738414d3056171ac5ccb34445db2d79dd792f1.tar.bz2 nix-config-5d738414d3056171ac5ccb34445db2d79dd792f1.zip |
add openvpn config for my mullad vpn stuff
Diffstat (limited to 'systems')
-rw-r--r-- | systems/default.nix | 7 |
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 = [ ... ]; |