diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix index 157da76d752..1128c5e005e 100644 --- a/nixos/modules/virtualisation/xen-dom0.nix +++ b/nixos/modules/virtualisation/xen-dom0.nix @@ -59,11 +59,12 @@ in virtualisation.xen.stored = mkOption { - default = "${pkgs.xen}/bin/oxenstored"; + default = null; description = '' - Xen Store daemon to use. + 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 =