blob: bf8cd43f238729eacd584dccfe9b4f32face2454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# usage: nix-instantiate --eval --json --strict example | jq -r .
let
# TODO: get rid of NIX_PATH dependency here
pkgs = import <nixpkgs> {};
cfg = import ./config.nix;
#cfg = import ./config-gpt-bios.nix;
in
with import ../lib { inherit (pkgs) lib;};
{
config = config cfg;
create = create cfg;
mount = mount cfg;
}
|