summaryrefslogtreecommitdiff
path: root/host/software/desktop/kit.vpn.nix
blob: 9f51a42b1a1f85b5114eadd21348725d5a46bd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, ... }:

{
  services.openvpn.servers = {
    KIT = {
      autoStart = false;
      config = let
        path = pkgs.fetchurl {
          url = "https://www.scc.kit.edu/scc/net/openvpn/conf/kit-split.ovpn";
          hash = "sha256-j4pCKyU7t1ZmwIGm5kuUgZ26Qiqa1jzoDZcP2x+A9pM=";
        };
      in "config ${path}";
    };
  };
}