Extend NixOS: Difference between revisions

imported>Ixxie
No edit summary
imported>Adrian gierakowski
m file name used in vm test command is vmtest.nix
Line 216: Line 216:
</syntaxhighlight>
</syntaxhighlight>


Then, we build the new configuration inside a VM. If we named the above file <code>my-new-service.nix</code>, we can use these commands:
Then, we build the new configuration inside a VM. If we named the above file <code>vmtest.nix</code>, we can use these commands:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
  # Create a VM from the new configuration.
  # Create a VM from the new configuration.