diff options
author | obadz <obadz-git@obadz.com> | 2016-05-30 14:23:25 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-05-30 14:23:52 +0100 |
commit | 0c9e904943a14c696055697beeef74da64dab5b0 (patch) | |
tree | dee17b41b90035a583110f1e56f1d0c7d135a7d0 /nixos/modules/services/networking/toxvpn.nix | |
parent | 5c1f0990e396673bd77d4ad609e84ce0213d6abe (diff) | |
download | nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar.gz nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar.bz2 nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar.lz nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar.xz nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.tar.zst nixpkgs-0c9e904943a14c696055697beeef74da64dab5b0.zip |
toxvpn: restartIfChanged = false & minor cleanups
Diffstat (limited to 'nixos/modules/services/networking/toxvpn.nix')
-rw-r--r-- | nixos/modules/services/networking/toxvpn.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/toxvpn.nix b/nixos/modules/services/networking/toxvpn.nix index 8c7ad9b9164..c38424c8e27 100644 --- a/nixos/modules/services/networking/toxvpn.nix +++ b/nixos/modules/services/networking/toxvpn.nix @@ -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 = { |