toxvpn: restartIfChanged = false & minor cleanups

obadz 0c9e9049 5c1f0990

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