Create audio.nix
This commit is contained in:
parent
23638236e1
commit
e281cc8cb2
1 changed files with 14 additions and 0 deletions
14
settings/audio.nix
Normal file
14
settings/audio.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# audio.nix
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable sound with pipewire.
|
||||||
|
services.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue