···55{
66 options = {
77 services.toxvpn = {
88- enable = mkOption {
99- type = types.bool;
1010- default = false;
1111- description = "enable toxvpn running on startup";
1212- };
88+ enable = mkEnableOption "enable toxvpn running on startup";
1391410 localip = mkOption {
1511 type = types.string;
···4339 Restart = "on-success";
4440 Type = "notify";
4541 };
4242+4343+ restartIfChanged = false; # Likely to be used for remote admin
4644 };
47454846 users.extraUsers = {
+2-1
pkgs/tools/networking/toxvpn/default.nix
···27272828 cmakeFlags = [ "-DSYSTEMD=1" ];
29293030- meta = {
3030+ meta = with stdenv.lib; {
3131 description = "A powerful tool that allows one to make tunneled point to point connections over Tox";
3232 homepage = https://github.com/cleverca22/toxvpn;
3333 license = licenses.gpl3;
3434+ maintainers = with maintainers; [ cleverca22 obadz ];
3435 platforms = platforms.linux;
3536 };
3637}