mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
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