Skip to content

Commit b456e07

Browse files
committed
doc/host: add preparing a non-flakes host
1 parent d4c006d commit b456e07

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/src/host.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,14 @@ Prepare your host by including the microvm.nix `host` nixosModule:
4343
};
4444
}
4545
```
46+
47+
# Preparing a non-Flakes host
48+
49+
If you really cannot migrate to Flakes easily, just import the `host`
50+
module directly in your NixOS configuration:
51+
52+
```nix
53+
imports = [ (builtins.fetchGit {
54+
url = "https://github.com/astro/microvm.nix";
55+
} + "/nixos-modules/host.nix") ];
56+
```

0 commit comments

Comments
 (0)