Update flake.lock and change to proper gaming udev package
This commit is contained in:
parent
975998a6bf
commit
181ec9575f
2 changed files with 25 additions and 29 deletions
|
@ -1,10 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
services.udev.packages = lib.mkIf config.system.desktop.enable [
|
||||
(pkgs.writeTextFile {
|
||||
name = "10-pdp.rules";
|
||||
text = ''SUBSYSTEM=="usb", ATTR{idVendor}=="2833", MODE="0666"'';
|
||||
destination = "/etc/udev/rules.d/10-pdp.rules";
|
||||
})
|
||||
services.udev.packages = with pkgs; lib.mkIf config.system.desktop.enable [
|
||||
game-devices-udev-rules
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue