mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
fix example/default.nix
This commit is contained in:
1 parent
c0623a47d8
commit
380fcb3026
1 file changed
+2
-3
+2
-3
@@ -1,12 +1,11 @@
|
|||||||
# usage: nix-instantiate --eval --json --strict example | jq -r .
|
# usage: nix-instantiate --eval --json --strict example | jq -r .
|
||||||
|
|
||||||
let
|
let
|
||||||
# TODO: get rid of NIX_PATH dependency here
|
|
||||||
pkgs = import <nixpkgs> {};
|
|
||||||
cfg = import ./config.nix;
|
cfg = import ./config.nix;
|
||||||
#cfg = import ./config-gpt-bios.nix;
|
#cfg = import ./config-gpt-bios.nix;
|
||||||
in
|
in
|
||||||
with import ../lib { inherit (pkgs) lib;};
|
# TODO: get rid of NIX_PATH dependency here
|
||||||
|
with import ../. {};
|
||||||
|
|
||||||
{
|
{
|
||||||
config = config cfg;
|
config = config cfg;
|
||||||
|
|||||||
Reference in new issue
Block a user