pipewire: move hardware.pulseaudio to services
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
df8d74d7ea
commit
f38f84ea0c
1 changed files with 23 additions and 20 deletions
|
@ -9,13 +9,15 @@ in {
|
||||||
options.custom.services.pipewire.enable = mkOption {default = false;};
|
options.custom.services.pipewire.enable = mkOption {default = false;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# https://wiki.nixos.org/wiki/PipeWire
|
|
||||||
# https://gitlab.freedesktop.org/pipewire/pipewire
|
|
||||||
#!! Realtime priority may cause desync
|
#!! Realtime priority may cause desync
|
||||||
#// security.rtkit.enable = true;
|
#// security.rtkit.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
|
||||||
|
|
||||||
services.pipewire = {
|
services = {
|
||||||
|
pulseaudio.enable = false;
|
||||||
|
|
||||||
|
# https://wiki.nixos.org/wiki/PipeWire
|
||||||
|
# https://gitlab.freedesktop.org/pipewire/pipewire
|
||||||
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
|
@ -36,4 +38,5 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue