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 | |
parent | 5c1f0990e396673bd77d4ad609e84ce0213d6abe (diff) |
toxvpn: restartIfChanged = false & minor cleanups
Diffstat (limited to 'nixos/modules')
-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 8c7ad9b916493..c38424c8e2733 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 = { |