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