mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
fix: expect normal disko-config module files
This commit is contained in:
1 parent
2a59af78a8
commit
15b62fd7a1
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user