mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 16:10:03 +01:00
This is a backwards-incompatible change but it allows to pin nixpkgs, which is desirable especially in professional environments where reproduciblity is important.
13 lines
319 B
Nix
13 lines
319 B
Nix
# 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);
|
|
}
|