chore(users): hardware.pulseaudio -> services.pulseaudio

Change-Id: I09f1d58c44709fc97dc1f00727da3a07881c5441
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13175
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: aspen <root@gws.fyi>
This commit is contained in:
sterni 2025-02-24 22:09:10 +01:00 committed by clbot
parent 11681612c3
commit 3600d1abb8
5 changed files with 10 additions and 10 deletions

View file

@ -62,7 +62,7 @@
hardware.enableAllFirmware = true;
hardware.pulseaudio.extraConfig = ''
services.pulseaudio.extraConfig = ''
load-module module-remap-source source_name=KompleteAudio6_1 source_properties=device.description=KompleteAudio6Input1 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-left channel_map=mono
load-module module-remap-source source_name=KompleteAudio6_2 source_properties=device.description=KompleteAudio6Input2 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-right channel_map=mono
load-module module-remap-sink sink_name=KompleteAudio6_12 sink_properties=device.description=KompleteAudio6_12 remix=no master=alsa_output.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.analog-surround-21 channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right

View file

@ -123,7 +123,7 @@
hardware.graphics.enable32Bit = true;
hardware.pulseaudio.extraConfig = ''
services.pulseaudio.extraConfig = ''
load-module module-remap-source source_name=KompleteAudio6_1 source_properties=device.description=KompleteAudio6Input1 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-left channel_map=mono
load-module module-remap-source source_name=KompleteAudio6_2 source_properties=device.description=KompleteAudio6Input2 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-right channel_map=mono
load-module module-remap-sink sink_name=KompleteAudio6_12 sink_properties=device.description=KompleteAudio6_12 remix=no master=alsa_output.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.analog-surround-21 channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right

View file

@ -2,7 +2,7 @@
{
# Enable sound.
hardware.pulseaudio.enable = true;
services.pulseaudio.enable = true;
services.pipewire.enable = false;
environment.systemPackages = with pkgs; [
@ -12,5 +12,5 @@
pavucontrol
];
hardware.pulseaudio.package = pkgs.pulseaudioFull;
services.pulseaudio.package = pkgs.pulseaudioFull;
}

View file

@ -46,16 +46,16 @@ lib.fix (self: {
enable32Bit = true;
};
pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
bluetooth = {
enable = true;
};
};
services.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
nix.settings = {
max-jobs = 48;
substituters = [ "ssh://nix-ssh@whitby.tvl.fyi" ];

View file

@ -121,7 +121,7 @@ in
};
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;