From 040841e9411b05c47f94318328d6ee47e432fcc8 Mon Sep 17 00:00:00 2001 From: zackartz Date: Fri, 1 Mar 2024 14:27:00 -0500 Subject: [PATCH] 91 current 2024-03-01 14:26:56 24.05.20240228.9099616 6.6.18 * --- hosts/earth/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/earth/configuration.nix b/hosts/earth/configuration.nix index 56cf758..2fef986 100644 --- a/hosts/earth/configuration.nix +++ b/hosts/earth/configuration.nix @@ -37,6 +37,7 @@ }; }; + services.udev.extraRules = ''KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"''; # Enable networking networking.networkmanager.enable = true; @@ -145,11 +146,13 @@ programs.zsh.enable = true; + users.groups.plugdev = {}; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.zack = { isNormalUser = true; description = "zack"; - extraGroups = ["networkmanager" "wheel" "docker" "libvirt"]; + extraGroups = ["networkmanager" "wheel" "docker" "libvirt" "plugdev"]; shell = pkgs.zsh; packages = with pkgs; [ firefox