forked from mirrors/nixpkgs
toxvpn: restartIfChanged = false & minor cleanups
This commit is contained in:
parent
5c1f0990e3
commit
0c9e904943
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue