fli/eza.nix: init
This commit is contained in:
parent
e4f89f8619
commit
204d97da9d
5 changed files with 93 additions and 4 deletions
19
modules/system/hardware/sound/pipewire/module.nix
Normal file
19
modules/system/hardware/sound/pipewire/module.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.system.hardware.sound.pipewire;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.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