disko/example/default.nix

16 lines
333 B
Nix
Raw Normal View History

# usage: nix-instantiate --eval --json --strict example | jq -r .
let
# TODO: get rid of NIX_PATH dependency here
pkgs = import <nixpkgs> {};
2022-08-17 17:52:12 +02:00
cfg = import ./config.nix;
#cfg = import ./config-gpt-bios.nix;
in
with import ../lib { inherit (pkgs) lib;};
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;
}