treewide: add types to boolean / enable options or make use of mkEnableOption

This commit is contained in:
Dominik Xaver Hörl
2020-04-27 09:32:01 +02:00
parent 5e4abf76c7
commit c10d82358f
19 changed files with 31 additions and 31 deletions
+3 -8
View File
@@ -103,6 +103,7 @@ in
};
forwardDns = mkOption {
type = types.bool;
default = false;
description = ''
If set to <literal>true</literal>, the DNS queries from the
@@ -135,14 +136,8 @@ in
};
};
virtualisation.xen.trace =
mkOption {
default = false;
description =
''
Enable Xen tracing.
'';
};
virtualisation.xen.trace = mkEnableOption "Xen tracing";
};