marleyos/modules/nixos/base/drivers/default.nix

25 lines
411 B
Nix
Raw Normal View History

{
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 = {
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
environment.systemPackages = [pkgs.pwvucontrol];
2025-01-09 16:08:30 +00:00
};
2025-01-07 02:39:11 +00:00
}