fusion44 / fusion44/nixblitz-cli

Add IP/PORT options to installer engine

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
installer
Dominant language
Rust
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The NixOS module already has options for it, but they are not used at the moment.

```rust
let ip = match env::var("IP") {
Ok(val) => IpAddr::from_str(&val).unwrap(),
Err(_) => IpAddr::V4(Ipv4Addr::from([127, 0, 0, 1])),
};
let port = match env::var("PORT") {
Ok(val) => val,
Err(e) => "3000".to_string(),
};
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.