toxvpn: restartIfChanged = false & minor cleanups

obadz 0c9e9049 5c1f0990

Changed files
+5 -6
nixos
modules
services
networking
pkgs
tools
networking
toxvpn
+3 -5
nixos/modules/services/networking/toxvpn.nix
···
{
options = {
services.toxvpn = {
-
enable = mkOption {
-
type = types.bool;
-
default = false;
-
description = "enable toxvpn running on startup";
-
};
+
enable = mkEnableOption "enable toxvpn running on startup";
localip = mkOption {
type = types.string;
···
Restart = "on-success";
Type = "notify";
};
+
+
restartIfChanged = false; # Likely to be used for remote admin
};
users.extraUsers = {
+2 -1
pkgs/tools/networking/toxvpn/default.nix
···
cmakeFlags = [ "-DSYSTEMD=1" ];
-
meta = {
+
meta = with stdenv.lib; {
description = "A powerful tool that allows one to make tunneled point to point connections over Tox";
homepage = https://github.com/cleverca22/toxvpn;
license = licenses.gpl3;
+
maintainers = with maintainers; [ cleverca22 obadz ];
platforms = platforms.linux;
};
}