diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-27 09:04:07 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-27 09:32:01 +0200 |
commit | c10d82358f875bb3c2104b7958777eb0033e024f (patch) | |
tree | 658bb8710791870ade4bf915dc450c6efda4e623 /nixos/modules/virtualisation | |
parent | 5e4abf76c7e74660369bcb5e2648746db03142c8 (diff) | |
download | nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar.gz nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar.bz2 nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar.lz nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar.xz nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.tar.zst nixlib-c10d82358f875bb3c2104b7958777eb0033e024f.zip |
treewide: add types to boolean / enable options or make use of mkEnableOption
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/xen-dom0.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix index 7f0af9901b9b..7b2a66c43489 100644 --- a/nixos/modules/virtualisation/xen-dom0.nix +++ b/nixos/modules/virtualisation/xen-dom0.nix @@ -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"; + }; |