···2929your hive from, sourced from the `stable` branch.
30303131::: code-group
3232-<<< @/snippets/guides/installation/flake.nix{38} [flake.nix]
3232+<<< @/snippets/guides/installation/flake.nix [flake.nix]
3333:::
34343535## Installation through npins
+29-2
doc/guides/migrate.md
···8899{{ $frontmatter.description }}
10101111+Migrate from...
1212+1313+- [Colmena](#from-colmena)
1414+- [`nixos-rebuild`](#from-nixos-rebuild)
1515+1116## From Colmena
12171818+If you're familiar with colmena, wire will hopefully come quickly to you! (or,
1919+atleast that was the intention when writing it!). There are a few changes you
2020+should know:
2121+2222+- Wire pushes a real binary file to apply keys. You'll need to _atleast_ add garnix's
2323+ public key for your remote server otherwise it will refuse the binary.
2424+- [You don't have to use a root user](/guides/non-root-user.html)
2525+- `apply-local` does not exist, `apply` will apply locally when appropriate
2626+- [Many options have been aliased to nicer names](/reference/module.html)
2727+ (ie, `deployment.targetUser` <=> `deployment.target.user`)
2828+- You may pass a list of hosts to `deployment.targetHost` (no more fiddling with
2929+ your hive whenever DNS is down, for example)
3030+- `--path` optionally takes a flakeref! You can pass `--path github:foo/bar`,
3131+ `--path git+file:///...`, `--path https://.../main.tar.gz`, etc.
3232+ (plain paths like `--path ~/my-hive` still work as always)
3333+1334::: tip
1435You should also follow [installation](/guides/installation) to install the
1536binary.
1637:::
17381818-### As a Flake
3939+### Convert a Hive as a Flake
19402041```nix [flake.nix]
2142{
···3556}
3657```
37583838-### Non-flake
5959+### Convert a Hive with npins
39604061::: tip
4162You should also follow [installation](/guides/installation) to setup
···61826283Replacing `<nixpkgs>` with a pinned source is optional, but you should
6384probably use one if you ask me \:)
8585+8686+## From `nixos-rebuild`
8787+8888+You can keep using `nixos-rebuild` alongside wire!
8989+9090+Follow the instructions in [the relevant page](/guides/flakes/nixos-rebuild.html).