2024-08-11 11:39:35 +02:00

19 lines
448 B
Nix

{ lib, config, pkgs, ... }:
let cfg = config.syscfg.make.gui;
in {
config = lib.mkIf cfg {
# sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# wireplumber.enable = true;
};
environment.systemPackages = with pkgs; [ easyeffects alsa-utils ];
};
}