disko/example/default.nix

15 lines
279 B
Nix
Raw Normal View History

# usage: nix-instantiate --eval --json --strict example | jq -r .
let
2022-08-17 17:52:12 +02:00
cfg = import ./config.nix;
#cfg = import ./config-gpt-bios.nix;
in
2022-09-05 14:11:32 +02:00
# TODO: get rid of NIX_PATH dependency here
with import ../. {};
2018-07-13 11:16:12 +02:00
{
2022-08-17 17:52:12 +02:00
config = config cfg;
create = create cfg;
mount = mount cfg;
}