diff options
author | jeschli <jeschli@gmail.com> | 2018-09-25 19:39:04 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-09-25 19:39:04 +0200 |
commit | 4386b9a140a2a7dd9019037bfb2ac4b02ab3e658 (patch) | |
tree | 1202dda4d6575afb427749fb2c98f26740f00766 /jeschli/1systems/bln/dcso-vpn.nix | |
parent | 3216875c5b216ec9af1a8abbd634a47ba4c25638 (diff) |
jeschli system: remove bln
Diffstat (limited to 'jeschli/1systems/bln/dcso-vpn.nix')
-rw-r--r-- | jeschli/1systems/bln/dcso-vpn.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/jeschli/1systems/bln/dcso-vpn.nix b/jeschli/1systems/bln/dcso-vpn.nix deleted file mode 100644 index 0a5623bf0..000000000 --- a/jeschli/1systems/bln/dcso-vpn.nix +++ /dev/null @@ -1,44 +0,0 @@ -with import <stockholm/lib>; -{ ... }: - -{ - - users.extraUsers = { - dcsovpn = rec { - name = "dcsovpn"; - uid = genid "dcsovpn"; - description = "user for running dcso openvpn"; - home = "/home/${name}"; - }; - }; - - users.extraGroups.dcsovpn.gid = genid "dcsovpn"; - - services.openvpn.servers = { - dcso = { - config = '' - client - dev tun - tun-mtu 1356 - mssfix - proto udp - float - remote 217.111.55.41 1194 - nobind - user dcsovpn - group dcsovpn - persist-key - persist-tun - ca ${toString <secrets/dcsovpn/ca.pem>} - cert ${toString <secrets/dcsovpn/cert.pem>} - key ${toString <secrets/dcsovpn/cert.key>} - verb 3 - mute 20 - auth-user-pass ${toString <secrets/dcsovpn/login.txt>} - route-method exe - route-delay 2 - ''; - updateResolvConf = true; - }; - }; -} |