disko/example/default.nix
2022-08-19 09:52:12 +02:00

15 lines
333 B
Nix

# 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;
}