summaryrefslogtreecommitdiffstats
path: root/example/default.nix
blob: f2826c9af987836cc8207ccb3076cedc230a3348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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;};

{
  config = config (import ./config.nix);
  create = create (import ./config.nix);
  mount = mount (import ./config.nix);
}