mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nix: lazy way to add groups
This commit is contained in:
parent
2b3fb09642
commit
c58013738a
9 changed files with 17 additions and 79 deletions
|
|
@ -1,6 +1,9 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
# Xilinx Artix-7 Basys 3
|
||||
services.udev.extraRules = ''
|
||||
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0660", GROUP="dialout", SYMLINK+="basys3"
|
||||
'';
|
||||
users.users.${config.var.username} = {
|
||||
extraGroups = ["dialout"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue