blob: ea6b9f4308cee5fcc55cb082308ff2925037c32d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# NixOS example
This example shows how to install `temp-postgres` on NixOS using Nix flakes.
You can actually run this configuration as a virtual machine on QEMU:
```sh
# Use the latest version of temp-postgres.
nix run ".#nixosConfigurations.myhost.config.system.build.vm"
# Use the worktree version of temp-postgres.
nix run --override-input temp-postgres ../.. ".#nixosConfigurations.myhost.config.system.build.vm"
```
|
for my tech blog and contact information.