mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
hardware.nix: replace fold with mkMerge
This commit is contained in:
parent
a118b52a02
commit
1b87273d47
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@ with lib;
|
||||||
type = types.enum [ "physical" "vmware" "qemu" ];
|
type = types.enum [ "physical" "vmware" "qemu" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
config = fold (a: b: a // b) { } hardwareModules;
|
config = mkMerge hardwareModules;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue