From 68c13bceaf31ffca8c961331709facbf1ef58d30 Mon Sep 17 00:00:00 2001 From: Paul Zinselmeyer Date: Wed, 28 Aug 2024 22:58:04 +0200 Subject: [PATCH] module change --- module.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 4c80b9e..6f34c0b 100644 --- a/module.nix +++ b/module.nix @@ -6,7 +6,10 @@ in options = { services.thekenlicht-daemon = { enable = lib.mkEnableOption "Enable Module"; - serialPort = lib.mkStringOption "Serial Port"; + serialPort = lib.mkOption { + name = "Serial Port"; + type = lib.types.uniq lib.types.str; + }; }; };