3
0
Fork 0
forked from mirrors/nixpkgs

toxvpn: restartIfChanged = false & minor cleanups

This commit is contained in:
obadz 2016-05-30 14:23:25 +01:00
parent 5c1f0990e3
commit 0c9e904943
2 changed files with 5 additions and 6 deletions

View file

@ -5,11 +5,7 @@ with lib;
{ {
options = { options = {
services.toxvpn = { services.toxvpn = {
enable = mkOption { enable = mkEnableOption "enable toxvpn running on startup";
type = types.bool;
default = false;
description = "enable toxvpn running on startup";
};
localip = mkOption { localip = mkOption {
type = types.string; type = types.string;
@ -43,6 +39,8 @@ with lib;
Restart = "on-success"; Restart = "on-success";
Type = "notify"; Type = "notify";
}; };
restartIfChanged = false; # Likely to be used for remote admin
}; };
users.extraUsers = { users.extraUsers = {

View file

@ -27,10 +27,11 @@ in stdenv.mkDerivation {
cmakeFlags = [ "-DSYSTEMD=1" ]; cmakeFlags = [ "-DSYSTEMD=1" ];
meta = { meta = with stdenv.lib; {
description = "A powerful tool that allows one to make tunneled point to point connections over Tox"; description = "A powerful tool that allows one to make tunneled point to point connections over Tox";
homepage = https://github.com/cleverca22/toxvpn; homepage = https://github.com/cleverca22/toxvpn;
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ cleverca22 obadz ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }