move audio to components
This commit is contained in:
parent
4ea7710714
commit
4bee8a47ae
7 changed files with 61 additions and 46 deletions
nixos/modules/system
|
@ -61,23 +61,23 @@ in
|
|||
users = {
|
||||
|
||||
mutableUsers = true;
|
||||
|
||||
defaultUserShell = pkgs.zsh;
|
||||
|
||||
groups.mainUser.name = cfg.userName;
|
||||
|
||||
users.mainUser = {
|
||||
isNormalUser = true;
|
||||
name = cfg.userName;
|
||||
uid = cfg.uid;
|
||||
home = "/home/${cfg.userName}";
|
||||
initialPassword = cfg.userName;
|
||||
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" ]
|
||||
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" "audio" "pipewire" ]
|
||||
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
|
||||
openssh.authorizedKeys.keyFiles = cfg.authorizedKeyFiles;
|
||||
group = config.users.groups.mainUser.name;
|
||||
};
|
||||
|
||||
groups.mainUser = {
|
||||
name = cfg.userName;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue