ma wbob.r: use new zigbee stick
This commit is contained in:
parent
46ae6fc00c
commit
8b4c488bff
@ -22,7 +22,7 @@ in {
|
||||
# <stockholm/makefu/2configs/virtualisation/virtualbox.nix>
|
||||
<stockholm/makefu/2configs/tinc/retiolum.nix>
|
||||
<stockholm/makefu/2configs/gui/wbob-kiosk.nix>
|
||||
{ environment.systemPackages = [ pkgs.kodi pkgs.nano ]; }
|
||||
{ environment.systemPackages = [ pkgs.nano ]; }
|
||||
|
||||
# <stockholm/makefu/2configs/gui/studio-virtual.nix>
|
||||
# <stockholm/makefu/2configs/audio/jack-on-pulse.nix>
|
||||
@ -47,6 +47,7 @@ in {
|
||||
<stockholm/makefu/2configs/stats/external/aralast.nix>
|
||||
<stockholm/makefu/2configs/stats/arafetch.nix>
|
||||
# <stockholm/makefu/2configs/hw/mceusb.nix>
|
||||
<stockholm/makefu/2configs/hw/slaesh.nix>
|
||||
# <stockholm/makefu/2configs/stats/telegraf/bamstats.nix>
|
||||
{ environment.systemPackages = [ pkgs.vlc ]; }
|
||||
|
||||
@ -99,6 +100,7 @@ in {
|
||||
<stockholm/makefu/2configs/backup/state.nix>
|
||||
# temporary
|
||||
# <stockholm/makefu/2configs/temp/rst-issue.nix>
|
||||
{ services.jellyfin.enable = true; }
|
||||
];
|
||||
|
||||
krebs = {
|
||||
|
@ -5,16 +5,13 @@ let
|
||||
in
|
||||
{
|
||||
# symlink the zigbee controller
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="cc2531", MODE="0660", GROUP="dialout"
|
||||
'';
|
||||
|
||||
services.zigbee2mqtt = {
|
||||
enable = true;
|
||||
inherit dataDir;
|
||||
settings = {
|
||||
permit_join = true;
|
||||
serial.port = "/dev/cc2531";
|
||||
serial.port = "/dev/zigbee";
|
||||
homeassistant = true;
|
||||
frontend.port = 8521;
|
||||
};
|
||||
|
9
makefu/2configs/hw/slaesh.nix
Normal file
9
makefu/2configs/hw/slaesh.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="zigbee", MODE="0660", GROUP="dailout"
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user