disko/example/default.nix

14 lines
319 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> {};
in
with import ../lib { inherit (pkgs) lib;};
2018-07-13 11:16:12 +02:00
{
config = config (import ./config.nix);
create = create (import ./config.nix);
mount = mount (import ./config.nix);
}