From 810721ceac0249e747cdf36f3edec22d829d4371 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 31 Dec 2021 23:53:52 +0100 Subject: ebus-rust nixos package --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4a186b9..bce45f8 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.1