···5{
6 options = {
7 services.toxvpn = {
8+ enable = mkEnableOption "enable toxvpn running on startup";
0000910 localip = mkOption {
11 type = types.string;
···39 Restart = "on-success";
40 Type = "notify";
41 };
42+43+ restartIfChanged = false; # Likely to be used for remote admin
44 };
4546 users.extraUsers = {
+2-1
pkgs/tools/networking/toxvpn/default.nix
···2728 cmakeFlags = [ "-DSYSTEMD=1" ];
2930- meta = {
31 description = "A powerful tool that allows one to make tunneled point to point connections over Tox";
32 homepage = https://github.com/cleverca22/toxvpn;
33 license = licenses.gpl3;
034 platforms = platforms.linux;
35 };
36}
···2728 cmakeFlags = [ "-DSYSTEMD=1" ];
2930+ meta = with stdenv.lib; {
31 description = "A powerful tool that allows one to make tunneled point to point connections over Tox";
32 homepage = https://github.com/cleverca22/toxvpn;
33 license = licenses.gpl3;
34+ maintainers = with maintainers; [ cleverca22 obadz ];
35 platforms = platforms.linux;
36 };
37}