services: pipewire: sound option no longer exists

This commit is contained in:
Antoine Martin 2024-12-01 18:05:15 +01:00
parent e7c8e9ac5a
commit df3908daeb

View file

@ -22,8 +22,6 @@ in {
# HACK: services.pipewire.alsa doesn't exist on 20.09, avoid evaluating this # HACK: services.pipewire.alsa doesn't exist on 20.09, avoid evaluating this
# config (my 20.09 machine is a server anyway) # config (my 20.09 machine is a server anyway)
config = optionalAttrs (options ? services.pipewire.alsa) (mkIf cfg.enable { config = optionalAttrs (options ? services.pipewire.alsa) (mkIf cfg.enable {
# from NixOS wiki, causes conflicts with pipewire
sound.enable = false;
# recommended for pipewire as well # recommended for pipewire as well
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {