nixos/virtualisation: correct virtualisation.vlans docstring
This commit is contained in:
@@ -71,7 +71,7 @@ in
|
||||
virtualisation.vlans = lib.mkOption {
|
||||
type = types.listOf types.ints.unsigned;
|
||||
default = if cfg.interfaces == { } then [ 1 ] else [ ];
|
||||
defaultText = lib.literalExpression "if cfg.interfaces == {} then [ 1 ] else [ ]";
|
||||
defaultText = lib.literalExpression "if config.virtualisation.interfaces == {} then [ 1 ] else [ ]";
|
||||
example = [
|
||||
1
|
||||
2
|
||||
|
||||
Reference in New Issue
Block a user