SeaweedFS NixOS module
fix NixOps network evaluation error
simplify README script
link to SeaweedFS repo in README

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~dermetfan/seaweedfs-nixos
read/write
ssh://hg@hg.sr.ht/~dermetfan/seaweedfs-nixos

#SeaweedFS NixOS module

The module resides in seaweedfs.nix. Just import it like any module:

imports = [ ./seaweedfs.nix ];

This was made before SeaweedFS 2.36 so newer options do not exist yet. Check weed help and add them as needed. Maybe even send a PR?

#NixOps VM example

There is an example configuration for NixOps in network.nix. It deploys to VirtualBox.

./generate-keys.sh

export NIXOPS_DEPLOYMENT=SeaweedFS

nixops create network.nix
nixops deploy

# test failure scenarios...

nixops destroy
nixops delete