nichts/modules/system/hardware/sound/pipewire/module.nix
Bloxx12 53aaa26fa1 flake: inherit explicitly from parts of lib
Instead of doing `inherit (lib) <something>``, all inherits now use
`inherit (lib.<subsystem>) <something>`, which is much nicer.
2025-04-09 16:13:31 +02:00

20 lines
302 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.modules.system.sound;
in {
config = mkIf cfg.enable {
services.pipewire = {
enable = true;
audio.enable = true;
pulse.enable = true;
jack.enable = true;
alsa.enable = true;
};
};
}