git.iko.soy/typeable/nixpkgs
on master help sign in
toxvpn: restartIfChanged = false & minor cleanups
commit0c9e904943a14c696055697beeef74da64dab5b0 authorobadz <obadz-git@obadz.com> dateMon 30 May 2016, 14:23 (11 years ago) parent5c1f099
2 files changed+5−6
nixos/modules/services/networking/toxvpn.nix+3−5 pkgs/tools/networking/toxvpn/default.nix+2−1
nixos/modules/services/networking/toxvpn.nix+3−5
@@ -5,11 +5,7 @@ with lib;
55{
66 options = {
77 services.toxvpn = {
8− enable = mkOption {
9− type = types.bool;
10− default = false;
11− description = "enable toxvpn running on startup";
12− };
8+ enable = mkEnableOption "enable toxvpn running on startup";
139
1410 localip = mkOption {
1511 type = types.string;
@@ -43,6 +39,8 @@ with lib;
4339 Restart = "on-success";
4440 Type = "notify";
4541 };
42+
43+ restartIfChanged = false; # Likely to be used for remote admin
4644 };
4745
4846 users.extraUsers = {
pkgs/tools/networking/toxvpn/default.nix+2−1
@@ -27,10 +27,11 @@ in stdenv.mkDerivation {
2727
2828 cmakeFlags = [ "-DSYSTEMD=1" ];
2929
30− meta = {
30+ 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;
34+ maintainers = with maintainers; [ cleverca22 obadz ];
3435 platforms = platforms.linux;
3536 };
3637}