diff --git a/hosts/modules/base.nix b/hosts/modules/base.nix index 085224b..2eab27a 100644 --- a/hosts/modules/base.nix +++ b/hosts/modules/base.nix @@ -1,15 +1,28 @@ { config, pkgs, inputs, ... }: { # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.alex = { - isNormalUser = true; - description = "Alexander Wainwright"; - extraGroups = [ "networkmanager" "wheel" "dialout" ]; - packages = with pkgs; [ - # thunderbird - ]; - shell = pkgs.fish; - }; + users = { + users.alex = { + isNormalUser = true; + description = "Alexander Wainwright"; + extraGroups = [ + "dialout" + "input" + "networkmanager" + "plugdev" + "render" + "video" + "wheel" + ]; + packages = with pkgs; [ + # thunderbird + ]; + shell = pkgs.fish; + }; + groups.pluggdev = {}; + }; + + services.udev.packages = [ pkgs.rtl-sdr ]; # this is to avoid some problem that happens apparently only when fish is # enabled, where generating man cahes takes a very long time. note that it may