stockholm/makefu/2configs/hw/irtoy.nix

16 lines
335 B
Nix
Raw Normal View History

2018-05-31 08:36:10 +00:00
{ 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"
'';
}