]> Git — Sourcephile - julm/julm-nix.git/blob - nixos/profiles/pipewire.nix
nix: update to nixos-24.11
[julm/julm-nix.git] / nixos / profiles / pipewire.nix
1 { pkgs, lib, config, ... }:
2 with lib;
3 {
4 environment.systemPackages = [
5 pkgs.pulseaudio # for pactl when using pipewire
6 ];
7
8 # rtkit is optional but recommended
9 security.rtkit.enable = mkDefault config.services.pipewire.enable;
10 hardware.pulseaudio.enable = false;
11 services.pipewire = {
12 enable = true;
13 alsa.enable = mkDefault true;
14 alsa.support32Bit = mkDefault true;
15 pulse.enable = mkDefault true;
16 };
17 }