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 = {
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;
@ -43,6 +39,8 @@ with lib;
Restart = "on-success";
Type = "notify";
};
restartIfChanged = false; # Likely to be used for remote admin
};
users.extraUsers = {

View File

@ -27,10 +27,11 @@ in stdenv.mkDerivation {
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;
};
}