Begin add pipewire
This commit is contained in:
parent
372515bfb4
commit
bda3a111ff
2 changed files with 19 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../../modules/system.nix
|
../../modules/system.nix
|
||||||
|
../../modules/pipewire.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
18
modules/pipewire.nix
Normal file
18
modules/pipewire.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
sound.enabled = true;
|
||||||
|
services = {
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
audio.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
alsa = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit = true;
|
||||||
|
};
|
||||||
|
wireplumber.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue