Deal with virtualisation.xen.stored in a more standard way
This commit is contained in:
parent
17479728ec
commit
9bb586943a
@ -59,12 +59,11 @@ in
|
||||
|
||||
virtualisation.xen.stored =
|
||||
mkOption {
|
||||
default = null;
|
||||
type = types.path;
|
||||
description =
|
||||
''
|
||||
Xen Store daemon to use. Defaults to oxenstored of the xen package.
|
||||
'';
|
||||
apply = x: if x == null then "${xen}/bin/oxenstored" else x;
|
||||
};
|
||||
|
||||
virtualisation.xen.trace =
|
||||
@ -89,6 +88,8 @@ in
|
||||
message = "Xen currently does not support EFI boot";
|
||||
} ];
|
||||
|
||||
virtualisation.xen.stored = mkDefault "${xen}/bin/oxenstored";
|
||||
|
||||
environment.systemPackages = [ xen ];
|
||||
|
||||
# Make sure Domain 0 gets the required configuration
|
||||
|
Loading…
Reference in New Issue
Block a user