Skip to content

Commit 7329f2f

Browse files
committed
deploy: b5c0b6d
1 parent dfcf1de commit 7329f2f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cpu-emulation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
196196
};
197197

198198
outputs = { self, nixpkgs, microvm }: {
199-
emulated-dev = nixpkgs.lib.nixosSystem {
199+
nixosConfigurations.emulated-dev = nixpkgs.lib.nixosSystem {
200200
# host system
201201
system = "x86_64-linux";
202202
modules = let
@@ -207,9 +207,9 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
207207
crossSystem.config = guestSystem;
208208
};
209209
in [
210-
{nixpkgs.crossSystem.config = guestSystem;}
211210
microvm.nixosModules.microvm
212211
{
212+
nixpkgs.crossSystem.config = guestSystem;
213213
microvm = {
214214
# you can choose what CPU will be emulated by qemu
215215
cpu = "cortex-a53";
@@ -224,7 +224,7 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
224224
};
225225
}
226226
</code></pre>
227-
<p>You can run the example with <code>nix run .#emulated-dev.config.microvm.declaredRunner</code>.</p>
227+
<p>You can run the example with <code>nix run .#nixosConfigurations.emulated-dev.config.microvm.declaredRunner</code>.</p>
228228
<p>As shown in this example, you can use system packages on the guest
229229
system by using nixpkgs with a proper <code>crossSystem</code> configuration.</p>
230230

print.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
462462
};
463463

464464
outputs = { self, nixpkgs, microvm }: {
465-
emulated-dev = nixpkgs.lib.nixosSystem {
465+
nixosConfigurations.emulated-dev = nixpkgs.lib.nixosSystem {
466466
# host system
467467
system = "x86_64-linux";
468468
modules = let
@@ -473,9 +473,9 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
473473
crossSystem.config = guestSystem;
474474
};
475475
in [
476-
{nixpkgs.crossSystem.config = guestSystem;}
477476
microvm.nixosModules.microvm
478477
{
478+
nixpkgs.crossSystem.config = guestSystem;
479479
microvm = {
480480
# you can choose what CPU will be emulated by qemu
481481
cpu = "cortex-a53";
@@ -490,7 +490,7 @@ <h2 id="defining-an-emulated-nixos-system"><a class="header" href="#defining-an-
490490
};
491491
}
492492
</code></pre>
493-
<p>You can run the example with <code>nix run .#emulated-dev.config.microvm.declaredRunner</code>.</p>
493+
<p>You can run the example with <code>nix run .#nixosConfigurations.emulated-dev.config.microvm.declaredRunner</code>.</p>
494494
<p>As shown in this example, you can use system packages on the guest
495495
system by using nixpkgs with a proper <code>crossSystem</code> configuration.</p>
496496
<div style="break-before: page; page-break-before: always;"></div><h1 id="microvm-output-options"><a class="header" href="#microvm-output-options">MicroVM output options</a></h1>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)