Update flake.lock and change to proper gaming udev package

This commit is contained in:
Bun 2025-03-26 01:03:06 -04:00
parent 975998a6bf
commit 181ec9575f
2 changed files with 25 additions and 29 deletions

View file

@ -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
];
}