nix/config/Sound.nix

21 lines
308 B
Nix
Raw Normal View History

{
2024-11-04 04:37:29 +03:00
config,
lib,
...
}: let
2024-11-07 12:12:53 +03:00
cfg = config.module.sound;
2024-11-04 04:37:29 +03:00
in {
config = lib.mkIf cfg.enable {
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
pulse.enable = true;
alsa = {
enable = true;
support32Bit = true;
};
};
};
2024-03-28 07:51:33 +03:00
}