Skip to content

Commit

Permalink
doc/host: add preparing a non-flakes host
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Jan 20, 2024
1 parent d4c006d commit b456e07
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/src/host.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@ Prepare your host by including the microvm.nix `host` nixosModule:
};
}
```

# Preparing a non-Flakes host

If you really cannot migrate to Flakes easily, just import the `host`
module directly in your NixOS configuration:

```nix
imports = [ (builtins.fetchGit {
url = "https://github.com/astro/microvm.nix";
} + "/nixos-modules/host.nix") ];
```

0 comments on commit b456e07

Please sign in to comment.