ma hw/irtoy: init

This commit is contained in:
makefu 2018-05-31 10:36:10 +02:00
parent b7c156e5d2
commit 319bb6fa89
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -0,0 +1,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"
'';
}