Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/zopsicle/alephium-nix
- Owner: zopsicle
- License: cc0-1.0
- Created: 2021-09-08T20:31:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T13:55:00.000Z (over 1 year ago)
- Last Synced: 2024-07-27T08:11:14.229Z (2 months ago)
- Topics: alephium, nix
- Language: Nix
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.CC0
Awesome Lists containing this project
- awesome-alephium - Nix package
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.