diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-05 12:46:50 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-05 12:46:50 +0100 |
commit | 9bb586943a4665e9dc0af78e2556a7d428f96553 (patch) | |
tree | 3764121269ffc0f6cb75ab9abd9a701f4e1a5f87 /nixos/modules/virtualisation/xen-dom0.nix | |
parent | 17479728ecf1e7b435f914a59a7e6ce9f3228fe2 (diff) |
Deal with virtualisation.xen.stored in a more standard way
Diffstat (limited to 'nixos/modules/virtualisation/xen-dom0.nix')
-rw-r--r-- | nixos/modules/virtualisation/xen-dom0.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix index 1128c5e005e8..ea9f61aad6a6 100644 --- a/nixos/modules/virtualisation/xen-dom0.nix +++ b/nixos/modules/virtualisation/xen-dom0.nix @@ -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 |