Add pipewire module
This commit is contained in:
parent
9bf8b48a84
commit
da5a194655
2 changed files with 25 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./base.nix
|
||||
./nix.nix
|
||||
./pipewire.nix
|
||||
./pubkeys.nix
|
||||
./sops.nix
|
||||
./tools.nix
|
||||
|
|
|
|||
24
modules/pipewire.nix
Normal file
24
modules/pipewire.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse = {
|
||||
enable = true;
|
||||
};
|
||||
jack = {
|
||||
enable = false;
|
||||
};
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pulseaudio # pacmd and pactl
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue