summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/irtoy.nix
blob: 688f1b2b9b852b676f772e53844413513e56a405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, pkgs, ... }:

{

  users.users.makefu.packages = with pkgs; [
    lirc
  ];

  users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];

  services.udev.extraRules = ''
    SUBSYSTEMS=="usb", ATTRS{idProduct}=="fd08", ATTRS{idVendor}=="04d8", SYMLINK+="irtoy", MODE="0666", GROUP="dialout"
  '';
}