mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Refactor sound config
This commit is contained in:
parent
6f60279637
commit
73e0441fd4
1 changed files with 5 additions and 9 deletions
|
|
@ -4,11 +4,8 @@
|
||||||
|
|
||||||
config = lib.mkIf config.custom.sound.enable {
|
config = lib.mkIf config.custom.sound.enable {
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services = {
|
services.pipewire = {
|
||||||
pulseaudio.enable = false;
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
wireplumber.enable = true;
|
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
alsa = {
|
alsa = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -16,5 +13,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue