mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
disko2: Add basic config evaluation via nushell
You can call it like so:
./disko.nu mount example/simple-efi.nix
./disko.nu mount -f .#testmachine
and it will output a JSON representation of the evaluated disko
configuration.
eval-config.nix is based on cli.nix
The test script is a first attempt.
This commit is contained in:
1 parent
d7d57edb72
commit
3d67130ff3
4 files changed
+421
No files matched your search
@@ -17,6 +17,7 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit eval;
|
||||
lib = lib.warn "the .lib.lib output is deprecated" diskoLib;
|
||||
|
||||
# legacy alias
|
||||
|
||||
Reference in new issue
Block a user