From c52c3a9f01386966c44cb64136df59fc55de03da Mon Sep 17 00:00:00 2001 From: minco Date: Sun, 2 Nov 2025 10:47:45 +0900 Subject: [PATCH] add dialout group --- configuration.nix | 4 ++-- hardware-configuration.nix | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 897fa24..82fa24a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -82,7 +82,7 @@ in { # useXkbConfig = true; # use xkb.options in tty. # }; - services.udev.packages = [ pkgs.libwacom ]; + services.udev.packages = with pkgs; [ libwacom rtl-sdr platformio-core.udev ]; services.usbmuxd = { enable = false; @@ -98,7 +98,7 @@ in { users.users.allen = { isNormalUser = true; extraGroups = - [ "wheel" "wireshark" "podman" ]; # Enable ‘sudo’ for the user. + [ "wheel" "wireshark" "podman" "dialout" ]; # Enable ‘sudo’ for the user. shell = pkgs.nushell; home = "/home/allen"; packages = with pkgs; [ tree ]; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 3ce01eb..f189e77 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -62,8 +62,6 @@ swapDevices = [ ]; - services.udev.packages = [ pkgs.rtl-sdr ]; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction