Move audio groups to audio module
This commit is contained in:
parent
6dd686cf1e
commit
dd75a52d28
|
@ -70,5 +70,15 @@
|
||||||
RestartSec = 60;
|
RestartSec = 60;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users = {
|
||||||
|
groups = {
|
||||||
|
pulse-access = { };
|
||||||
|
};
|
||||||
|
users.k-ot.extraGroups = [
|
||||||
|
"pipewire"
|
||||||
|
"pulse-access" # required for system wide pulseaudio
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,9 +182,6 @@ in
|
||||||
users.motd = lib.mkIf cfg.enableMotd (builtins.readFile ./motd);
|
users.motd = lib.mkIf cfg.enableMotd (builtins.readFile ./motd);
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
groups = {
|
|
||||||
pulse-access = { };
|
|
||||||
};
|
|
||||||
users = {
|
users = {
|
||||||
k-ot = lib.mkIf cfg.k-ot.enable {
|
k-ot = lib.mkIf cfg.k-ot.enable {
|
||||||
packages = with pkgs; [ screen tmux ];
|
packages = with pkgs; [ screen tmux ];
|
||||||
|
@ -193,7 +190,6 @@ in
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"audio"
|
"audio"
|
||||||
"pulse-access" # required for system wide pulseaudio
|
|
||||||
"video"
|
"video"
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue