summaryrefslogtreecommitdiffstats
path: root/example/default.nix
blob: e69c8dbb2fd59fbf43ac47d6c7371cdacbb77b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# usage: nix-instantiate --eval --json --strict example | jq -r .

let
  cfg = import ./config.nix;
  #cfg = import ./config-gpt-bios.nix;
in
# TODO: get rid of NIX_PATH dependency here
with import ../. {};

{
  config = config cfg;
  create = create cfg;
  mount = mount cfg;
}