major rewrite
This commit is contained in:
parent
47a79eea64
commit
4adf705a13
20 changed files with 50 additions and 294 deletions
0
modules/system/hardware/sound/default.nix
Normal file
0
modules/system/hardware/sound/default.nix
Normal file
19
modules/system/hardware/sound/pipewire/default.nix
Normal file
19
modules/system/hardware/sound/pipewire/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules.system.hardware.sound) pipewire;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf pipewire.enable {
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
audio.enable = true;
|
||||
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
alsa.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue