improvements
This commit is contained in:
parent
e1bc1f1252
commit
7ace9772d6
5 changed files with 29 additions and 38 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -10,9 +11,9 @@ in
|
|||
options.hardware.gcadapter.enable = lib.mkEnableOption "GameCube Adapter support";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.udev.extraRules = ''
|
||||
ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="666", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device" TAG+="uaccess"
|
||||
'';
|
||||
services.udev.packages = [
|
||||
pkgs.dolphin-emu
|
||||
];
|
||||
|
||||
boot = {
|
||||
extraModulePackages = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue