mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
config: fix nixpkgs import for mkImage
This should fix for image configurations that also make use of the imported overlays.
This commit is contained in:
parent
1d44a40e36
commit
9d7584bc82
@ -388,7 +388,7 @@
|
|||||||
let
|
let
|
||||||
system = metadata.system or defaultSystem;
|
system = metadata.system or defaultSystem;
|
||||||
nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs";
|
nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs";
|
||||||
pkgs = import inputs."${nixpkgs-channel}" { inherit system; };
|
pkgs = import inputs."${nixpkgs-channel}" { inherit system overlays; };
|
||||||
format = metadata.format or "iso";
|
format = metadata.format or "iso";
|
||||||
in
|
in
|
||||||
mkImage {
|
mkImage {
|
||||||
|
Loading…
Reference in New Issue
Block a user