Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zopsicle/alephium-nix

Nix package and NixOS module for Alephium.
https://github.com/zopsicle/alephium-nix

alephium nix

Last synced: 2 months ago
JSON representation

Nix package and NixOS module for Alephium.

Awesome Lists containing this project

README

        

Work in progress but if you feel adventurous you can try it out.

Example NixOS configuration:

```nix
{ ... }:

let
alephium-nix = fetchTarball {
url = "https://github.com/chloekek/alephium-nix/archive/.tar.gz";
sha256 = "";
};
in

{
imports = [
(alephium-nix + "/nixos-module.nix")
];

services.alephium.enable = true;

# If you enable mining, replace these addresses with yours.
services.alephium.mining.miner-addresses = [
"1cLiepA3tKr5d47cMZVb2zdtcWwwSqFibmSvcaoUHLg8"
"1DJ4nnfaVWHQTz3n8BTTeByWkKGYf3baPCPDknenRGtYJ"
"1AhwiVEdzWD3abZpRHyMSrPEDwoAwySrYZAgMZz4bhDCi"
"1BkWG82inFPdvmB2HFbFQvosnxddF78Jvi9DbLqZbHwVw"
];

# Example configuration for Prometheus.
# If you do not use Prometheus then you can ignore this example.
services.prometheus.enable = true;
services.prometheus.scrapeConfigs = [
{
job_name = "alephium";
scrape_interval = "10s";
static_configs = [ { targets = [ "localhost:12973" ]; } ];
}
];
}
```

The Nix code in this repository is licensed CC0.
See LICENSE.CC0 for more information.