mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01: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…
Add table
Add a link
Reference in a new issue