mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-27 22:34:35 +00:00
18 lines
321 B
Nix
18 lines
321 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkDefault;
|
|
cfg = config.myOptions.system.sound;
|
|
in {
|
|
imports = [ ./pipewire.nix ];
|
|
config = mkIf cfg.enable {
|
|
sound = {
|
|
enable = mkDefault false; # this just enables ALSA, which we don't really care abouyt
|
|
mediaKeys.enable = true;
|
|
};
|
|
};
|
|
}
|
|
|