https://github.com/mlabs-haskell/spo-anywhere
Install Cardano nodes anywhere with the help of NixOS
https://github.com/mlabs-haskell/spo-anywhere
Last synced: 4 months ago
JSON representation
Install Cardano nodes anywhere with the help of NixOS
- Host: GitHub
- URL: https://github.com/mlabs-haskell/spo-anywhere
- Owner: mlabs-haskell
- License: apache-2.0
- Created: 2023-10-09T09:38:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-22T23:06:16.000Z (5 months ago)
- Last Synced: 2026-03-23T17:38:12.159Z (5 months ago)
- Language: Nix
- Homepage: https://mlabs-haskell.github.io/spo-anywhere/
- Size: 1.41 MB
- Stars: 3
- Watchers: 7
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SPO-anywhere
Tool leveraging on [nixos-anywhere](https://github.com/nix-community/nixos-anywhere) to deploy Cardano stake pools on any cloud provider.
## Setup
Install nix and enable flakes, eg. with [Determinate nix installer](https://github.com/DeterminateSystems/nix-installer).
Use the project's binary cache to skip builds. Edit `/etc/nix/nix.conf` (or related settings in NixOS config) and merge the new values separated by spaces into the options:
```
substituters = ... https://cache.staging.mlabs.city/spo-anywhere
trusted-public-keys = ... spo-anywhere:bmI58BmXnmeuAtMKbm3qhwiJ1RALMfo6cDwncfaGa6Q=
```
Don't edit `~/.config/nix/nix.conf` in your home directory. Don't add users to `trusted-users` because it is [insecure](https://nixos.org/manual/nix/stable/command-ref/conf-file.html?highlight=trusted-user#conf-trusted-users).
### Development Shell
`SPO-anywhere` provides a devshell that includes some useful tools and aliases:
```
❯ nix develop
...
❄️ Welcome to the spo-anywhere devshell ❄️
...
[Tools]
build-all - Build all the checks
check - Alias of `nix flake check`
fmt - Format the source tree
...
```
A `.envrc` is also provided, using [direnv]() and [nix-direnv](https://github.com/nix-community/nix-direnv) is suggested.
## License information
`spo-anyhwere` released under terms of [Apache-2.0](LICENSES/Apache-2.0.txt) license.