summaryrefslogtreecommitdiffstats
path: root/systems
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-23 18:17:48 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-23 18:17:48 -0400
commit5d738414d3056171ac5ccb34445db2d79dd792f1 (patch)
treecfb480c98d930d32b58bcce72de525a47084ff9d /systems
parent58eee0458fe2c6976a3982c5b9a3e4919f13adcb (diff)
downloadnix-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.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 = [ ... ];