diff --git a/nixos/systems/blowhole/default.nix b/nixos/systems/blowhole/default.nix index bc6e91d..17146d5 100644 --- a/nixos/systems/blowhole/default.nix +++ b/nixos/systems/blowhole/default.nix @@ -103,6 +103,7 @@ in devPath = "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_4c004e9c53c9eb118a9f8b4f1d69213e-if00-port0"; zigbeeScript = pkgs.writeShellScript "zigbeeScript" '' + touch /dev/ttyZigbee ${pkgs.lib.getExe' pkgs.utillinux "mount"} --bind \ "$(${pkgs.lib.getExe' pkgs.coreutils "readlink"} -f "${devPath}")" \ /dev/ttyZigbee