initial commit
This commit is contained in:
21
hosts/common/optional/audio.nix
Normal file
21
hosts/common/optional/audio.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
# NOTE(starter): configure your audio needs as required.
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
playerctl # cli utility and lib for controlling media players
|
||||
# pamixer # cli pulseaudio sound mixer
|
||||
;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user