common: switch from pulseaudio to pipewire
This commit is contained in:
parent
4b9343fc3e
commit
cd4a003816
|
@ -16,8 +16,8 @@
|
|||
}
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "PulseAudio"
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -431,13 +431,14 @@ in {
|
|||
sqlite-web
|
||||
]);
|
||||
|
||||
sound = {
|
||||
security.rtkit.enable = !config.machineVars.headless;
|
||||
services.pipewire = {
|
||||
enable = !config.machineVars.headless;
|
||||
mediaKeys.enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
hardware.pulseaudio.enable = !config.machineVars.headless;
|
||||
|
||||
security.sudo.extraConfig = let
|
||||
sudoLecture = pkgs.writeText "sudo-lecture.txt" (extendedLib.termColors.front.red "Be careful or something, idk...\n");
|
||||
in ''
|
||||
|
|
Loading…
Reference in New Issue