2023-11-04 02:28:27 +01:00
|
|
|
{ lib, config, pkgs, ... }:
|
2024-04-14 07:57:07 +02:00
|
|
|
let cfg = config.syscfg.make.gui;
|
2023-11-04 02:28:27 +01:00
|
|
|
in {
|
|
|
|
config = lib.mkIf cfg {
|
2024-07-21 11:09:09 +02:00
|
|
|
# sound.enable = true;
|
2023-11-04 02:28:27 +01:00
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
2023-11-28 03:39:49 +01:00
|
|
|
# wireplumber.enable = true;
|
2023-11-04 02:28:27 +01:00
|
|
|
};
|
|
|
|
|
2024-08-11 11:37:19 +02:00
|
|
|
environment.systemPackages = with pkgs; [ easyeffects alsa-utils ];
|
2023-11-04 02:28:27 +01:00
|
|
|
};
|
|
|
|
}
|