forked from
lass.pds.lassul.us/superconfig
This repository has no description
466 B
20 lines
1{ pkgs, ... }:
2{
3 systemd.services.weron = {
4 wantedBy = [ "multi-user.target" ];
5 environment = {
6 WERON_RADDR = "ws://lassul.us:23420/";
7 };
8 serviceConfig = {
9 ExecStart = pkgs.writers.writeDash "weron" ''
10 ${pkgs.weron}/bin/weron vpn ip \
11 --community krebs \
12 --password aidsballs \
13 --key aidsballs \
14 --ips 10.249.1.0/24 \
15 --verbose 7 \
16 --dev weron
17 '';
18 };
19 };
20}