From 9d774a762ce3f3e032666ad459d90d45f6801bb0 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Thu, 22 Jun 2023 23:06:02 +0100 Subject: [PATCH] nixos/gui: Add udev rules for Nvidia RCM --- nixos/modules/gui.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/modules/gui.nix b/nixos/modules/gui.nix index 1498456..7ae6fbc 100644 --- a/nixos/modules/gui.nix +++ b/nixos/modules/gui.nix @@ -40,6 +40,12 @@ in gnome = { gnome-keyring.enable = true; }; + + udev = { + extraRules = '' + SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="wheel" + ''; + }; }; programs.dconf.enable = true;