mirror of
https://github.com/nix-community/disko
synced 2024-11-10 14:24:27 +00:00
15 lines
333 B
Nix
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;
|
|
}
|