Move audio groups to audio module

This commit is contained in:
Sandro - 2022-09-17 22:15:13 +02:00
parent 6dd686cf1e
commit dd75a52d28
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 10 additions and 4 deletions

View File

@ -70,5 +70,15 @@
RestartSec = 60;
};
};
users = {
groups = {
pulse-access = { };
};
users.k-ot.extraGroups = [
"pipewire"
"pulse-access" # required for system wide pulseaudio
];
};
};
}

View File

@ -182,9 +182,6 @@ in
users.motd = lib.mkIf cfg.enableMotd (builtins.readFile ./motd);
users = {
groups = {
pulse-access = { };
};
users = {
k-ot = lib.mkIf cfg.k-ot.enable {
packages = with pkgs; [ screen tmux ];
@ -193,7 +190,6 @@ in
uid = 1000;
extraGroups = [
"audio"
"pulse-access" # required for system wide pulseaudio
"video"
"wheel"
];