Add groups

This commit is contained in:
Alexander Wainwright
2026-02-24 12:30:24 +10:00
parent 98f039d2a2
commit 9e0c352e0a

View File

@@ -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