mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
fix: expect normal disko-config module files
This commit is contained in:
parent
2a59af78a8
commit
15b62fd7a1
1 changed files with 2 additions and 2 deletions
4
cli.nix
4
cli.nix
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue