tinc module: use enum

wip/yesman
Eric Sagnes 8 years ago
parent 5a3c2e3db0
commit 8f8184ece1
  1. 2
      nixos/modules/services/networking/tinc.nix

@ -68,7 +68,7 @@ in
interfaceType = mkOption {
default = "tun";
type = types.addCheck types.str (n: n == "tun" || n == "tap");
type = types.enum [ "tun" "tap" ];
description = ''
The type of virtual interface used for the network connection
'';

Loading…
Cancel
Save