mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
Merge pull request #35 from nix-community/fix-example
fix example/default.nix
This commit is contained in:
commit
4d50d08e81
@ -1,12 +1,11 @@
|
||||
# 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;};
|
||||
# TODO: get rid of NIX_PATH dependency here
|
||||
with import ../. {};
|
||||
|
||||
{
|
||||
config = config cfg;
|
||||
|
Loading…
Reference in New Issue
Block a user