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

https://github.com/roosoft/nixlib


https://github.com/roosoft/nixlib

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# nixlib

## Add to a flake project

```nix
inputs.nixlib.url = "github:roosoft/nixlib";

outputs = {nixlib}: let
hostname = "dummy";
mac = nixlib.network.createMacAddress hostname;
in {
...
}
```

## Test in the REPL

```bash
nix repl
```

```nix
:lf github:roosoft/nixlib
network.createMacAddress "dummy"
```

```
"b2:a2:c9:62:50:61"
```