Skip to content

mlabs-haskell/spo-anywhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPO-anywhere

Tool leveraging on nixos-anywhere to deploy Cardano stake pools on any cloud provider.

Setup

Install nix and enable flakes, eg. with Determinate 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.

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 is suggested.

License information

cardano.nix released under terms of Apache-2.0 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages