ma hw/irtoy: init
This commit is contained in:
parent
b7c156e5d2
commit
319bb6fa89
15
makefu/2configs/hw/irtoy.nix
Normal file
15
makefu/2configs/hw/irtoy.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user