mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
Merge pull request #936 from saviosg/savio-disko
make-disk-image: fix function precedence breaks customQemu
This commit is contained in:
1 file changed
+2
-2
@@ -13,7 +13,7 @@ let
|
|||||||
|
|
||||||
configSupportsZfs = config.boot.supportedFilesystems.zfs or false;
|
configSupportsZfs = config.boot.supportedFilesystems.zfs or false;
|
||||||
vmTools = pkgs.vmTools.override
|
vmTools = pkgs.vmTools.override
|
||||||
{
|
({
|
||||||
rootModules = [
|
rootModules = [
|
||||||
"9p" "9pnet_virtio" # we can drop those in future if we stop supporting 24.11
|
"9p" "9pnet_virtio" # we can drop those in future if we stop supporting 24.11
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ let
|
|||||||
// lib.optionalAttrs (diskoLib.vmToolsSupportsCustomQemu lib)
|
// lib.optionalAttrs (diskoLib.vmToolsSupportsCustomQemu lib)
|
||||||
{
|
{
|
||||||
customQemu = cfg.qemu;
|
customQemu = cfg.qemu;
|
||||||
};
|
});
|
||||||
cleanedConfig = diskoLib.testLib.prepareDiskoConfig config diskoLib.testLib.devices;
|
cleanedConfig = diskoLib.testLib.prepareDiskoConfig config diskoLib.testLib.devices;
|
||||||
systemToInstall = extendModules {
|
systemToInstall = extendModules {
|
||||||
modules = [
|
modules = [
|
||||||
|
|||||||
Reference in new issue
Block a user