# Nix O'matic

Reproducible environments. Made easy.

## Spin up any environment in seconds

### Using Nix

Use [`nix develop`](https://nixos.org/download/) to get started:

```bash
nix \
    --extra-experimental-features 'nix-command flakes' \
    develop 'https://nixomatic.com/?packages=cowsay' \
      --accept-flake-config \
      --command -- cowsay 'Hello, world!'
```

```text
 _______________
< Hello, world! >
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
```

### Using Docker

```bash
docker run -v nix-store:/nix --rm nixos/nix nix \
    --extra-experimental-features 'nix-command flakes' \
    --option build-users-group "" \
    develop 'https://nixomatic.com/?packages=cowsay' \
      --accept-flake-config \
      --command -- cowsay 'Hello, world!'
```

```text
 _______________
< Hello, world! >
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
```

[See all usage examples](https://nixomatic.com/docs)
