diff options
author | Yves Fischer <yvesf+git@xapek.org> | 2021-12-31 23:53:52 +0100 |
---|---|---|
committer | Yves Fischer <yvesf+git@xapek.org> | 2021-12-31 23:57:06 +0100 |
commit | 810721ceac0249e747cdf36f3edec22d829d4371 (patch) | |
tree | 333268ca977222e2f5a41eff68607b36721f7694 /README.md | |
parent | 76f8611ee3345268e2091a9d2e81b53a8b05889c (diff) | |
download | ebus-810721ceac0249e747cdf36f3edec22d829d4371.tar.gz ebus-810721ceac0249e747cdf36f3edec22d829d4371.zip |
ebus-rust nixos package
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -3,3 +3,19 @@ - [ebus-racket](ebus-racket/) eBus protocol parser written in racket - [ebus-rust](ebus-rust/) eBus protocol parser writtin in rust - [ebus-xml](ebus-xml/) eBus protocol specification (devices, packets, fields) in xml. + +## Usage of ebus-rust on nixos + +``` + inputs.ebus.url = "github:yvesf/ebus"; + inputs.ebus.inputs.nixpkgs.follows = "template/nixpkgs"; + ... + # add module + ebus.nixosModules.ebus-rust + ... + # configure module + services.ebus-rust.enable = true; + services.ebus-rust.user = settings.username; + services.ebus-rust.device = "/dev/ttyUSB0"; + ... +```
\ No newline at end of file |