File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ settings:
35
35
};
36
36
37
37
outputs = { self, nixpkgs, microvm }: {
38
- emulated-dev = nixpkgs.lib.nixosSystem {
38
+ nixosConfigurations. emulated-dev = nixpkgs.lib.nixosSystem {
39
39
# host system
40
40
system = "x86_64-linux";
41
41
modules = let
@@ -46,9 +46,9 @@ settings:
46
46
crossSystem.config = guestSystem;
47
47
};
48
48
in [
49
- {nixpkgs.crossSystem.config = guestSystem;}
50
49
microvm.nixosModules.microvm
51
50
{
51
+ nixpkgs.crossSystem.config = guestSystem;
52
52
microvm = {
53
53
# you can choose what CPU will be emulated by qemu
54
54
cpu = "cortex-a53";
@@ -65,7 +65,7 @@ settings:
65
65
```
66
66
67
67
You can run the example with `nix run
68
- .#emulated-dev.config.microvm.declaredRunner`.
68
+ .#nixosConfigurations. emulated-dev.config.microvm.declaredRunner`.
69
69
70
70
As shown in this example, you can use system packages on the guest
71
71
system by using nixpkgs with a proper ` crossSystem ` configuration.
You can’t perform that action at this time.
0 commit comments