Add groups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user