2025-02-18 04:23:57 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = lib.mkIf (!config.marleyos.isServer) {
|
|
|
|
security.rtkit.enable = true; # Used for pulseaudio.
|
2025-01-07 02:39:11 +00:00
|
|
|
|
2025-02-28 02:25:20 +00:00
|
|
|
hardware.pulseaudio.enable = false;
|
2025-01-09 16:08:30 +00:00
|
|
|
|
2025-02-28 02:25:20 +00:00
|
|
|
services = {
|
2025-02-18 04:23:57 +00:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
printing.enable = true;
|
2025-01-09 16:08:30 +00:00
|
|
|
};
|
2025-01-07 02:39:11 +00:00
|
|
|
|
2025-02-18 04:23:57 +00:00
|
|
|
environment.systemPackages = [pkgs.pwvucontrol];
|
2025-01-09 16:08:30 +00:00
|
|
|
};
|
2025-01-07 02:39:11 +00:00
|
|
|
}
|