mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-09 03:56:03 +01:00
Merge pull request #25 from 9gel/rpi-groups
Add groups so udev rules work in parity with official rpi
This commit is contained in:
commit
b4ad649630
1 changed files with 2 additions and 0 deletions
|
|
@ -334,6 +334,8 @@ in
|
|||
};
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
users.groups = builtins.listToAttrs (map (k: { name = k; value = {}; })
|
||||
["input" "sudo" "plugdev" "games" "netdev" "gpio" "i2c" "spi"]);
|
||||
services = {
|
||||
udev.extraRules =
|
||||
let shell = "${pkgs.bash}/bin/bash";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue