examples: use relative paths to example files
This ensures that the examples files from the current example dir are used. Previously, the default examples from the nix-bitcoin source were used.
This commit is contained in:
parent
a4dabc7390
commit
cb3d5446c8
@ -82,7 +82,7 @@ read -d '' src <<EOF || true
|
||||
extra.enableWAN = true;
|
||||
config = { pkgs, config, lib, ... }: {
|
||||
imports = [
|
||||
<nix-bitcoin/examples/${configuration}>
|
||||
<${configuration}>
|
||||
<nix-bitcoin/modules/secrets/generate-secrets.nix>
|
||||
];
|
||||
};
|
||||
|
@ -38,7 +38,7 @@ nix-build --out-link $tmpDir/vm - <<EOF
|
||||
(import <nixpkgs/nixos> {
|
||||
configuration = {
|
||||
imports = [
|
||||
<nix-bitcoin/examples/configuration.nix>
|
||||
<configuration.nix>
|
||||
<nix-bitcoin/modules/secrets/generate-secrets.nix>
|
||||
];
|
||||
virtualisation.graphics = false;
|
||||
|
Loading…
Reference in New Issue
Block a user