loki: Enable jack support in pipewire
This commit is contained in:
parent
ab0b285c44
commit
dc46c12ec5
2 changed files with 10 additions and 3 deletions
|
@ -61,7 +61,10 @@
|
|||
cross-systems = [ "aarch64-linux" ];
|
||||
};
|
||||
tablet.enable = false;
|
||||
sound.enable = true;
|
||||
sound = {
|
||||
enable = true;
|
||||
jack = true;
|
||||
};
|
||||
systemd.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,10 @@ with lib; let
|
|||
cfg = config.eboskma.sound;
|
||||
in
|
||||
{
|
||||
options.eboskma.sound.enable = mkEnableOption "activate sound settings";
|
||||
options.eboskma.sound = {
|
||||
enable = mkEnableOption "activate sound settings";
|
||||
jack = mkEnableOption "enable JACK";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
sound.enable = true;
|
||||
|
@ -16,6 +19,7 @@ in
|
|||
enable = true;
|
||||
pulse.enable = true;
|
||||
alsa.enable = true;
|
||||
jack.enable = cfg.jack;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
};
|
||||
|
@ -39,7 +43,7 @@ in
|
|||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [ pavucontrol ];
|
||||
environment.systemPackages = with pkgs; [ pavucontrol pipewire ];
|
||||
|
||||
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "audio" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue