fix: expect normal disko-config module files

This commit is contained in:
David Arnold 2022-11-05 22:29:28 -05:00 committed by lassulus
parent 2a59af78a8
commit 15b62fd7a1

View File

@ -3,8 +3,8 @@
, diskoFile
, ... }@args:
let
disko = import ./. {};
diskFormat = import diskoFile args;
disko = import ./. { inherit (pkgs) lib; };
diskFormat = import diskoFile;
diskoEval = if (mode == "create") then
disko.createScript diskFormat pkgs
else if (mode == "mount") then