mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
21 lines
321 B
Nix
21 lines
321 B
Nix
{ pkgs
|
|
, lib
|
|
, rootPath
|
|
, config
|
|
, ...
|
|
}:
|
|
let
|
|
cfg = config.kp2pml30;
|
|
in lib.mkIf cfg.hardware.audio {
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
alsa-utils
|
|
acpid
|
|
];
|
|
}
|