mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
Merge pull request #111461 from helsinki-systems/xen
nixos/xen: add types
This commit is contained in:
commit
cf17c057b7
|
@ -57,7 +57,8 @@ in
|
|||
|
||||
virtualisation.xen.bootParams =
|
||||
mkOption {
|
||||
default = "";
|
||||
default = [];
|
||||
type = types.listOf types.str;
|
||||
description =
|
||||
''
|
||||
Parameters passed to the Xen hypervisor at boot time.
|
||||
|
@ -68,6 +69,7 @@ in
|
|||
mkOption {
|
||||
default = 0;
|
||||
example = 512;
|
||||
type = types.addCheck types.int (n: n >= 0);
|
||||
description =
|
||||
''
|
||||
Amount of memory (in MiB) allocated to Domain 0 on boot.
|
||||
|
@ -78,6 +80,7 @@ in
|
|||
virtualisation.xen.bridge = {
|
||||
name = mkOption {
|
||||
default = "xenbr0";
|
||||
type = types.str;
|
||||
description = ''
|
||||
Name of bridge the Xen domUs connect to.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue