Skip to content

Commit

Permalink
x1c7: switch back to pulseaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
LEXUGE committed Sep 17, 2024
1 parent ac2cec6 commit 00326bb
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions cfgs/x1c7/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

hardware.bluetooth = {
enable = true;
# disabledPlugins = [ "sap" ];
disabledPlugins = [ "sap" ];
};

# Don't suspend if lid is closed with computer on power.
Expand All @@ -15,27 +15,20 @@

### Sound and graphics

# allow realtime scheduling
security.rtkit.enable = true;
# Enable PulseAudio
services.pipewire = {
# This uses pipewire and conflicts with pulseaudio
services.gnome.gnome-remote-desktop.enable = false;
# Have to additionally disable pipewire: https://github.com/NixOS/nixpkgs/commit/438fd16359cf30090c66d3748727829afa90e814
services.pipewire.enable = false;
# Configuration of pulseaudio to facilitate bluetooth headphones and Steam.
hardware.pulseaudio = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
# 32 bit support for steam.
support32Bit = true;
# NixOS allows either a lightweight build (default) or full build of PulseAudio to be installed.
# Only the full build has Bluetooth support, so it must be selected here.
package = pkgs.pulseaudioFull;
};

# Configuration of pulseaudio to facilitate bluetooth headphones and Steam.
# hardware.pulseaudio = {
# enable = false;
# # 32 bit support for steam.
# support32Bit = true;
# # NixOS allows either a lightweight build (default) or full build of PulseAudio to be installed.
# # Only the full build has Bluetooth support, so it must be selected here.
# package = pkgs.pulseaudioFull;
# };

# OpenGL 32 bit support for steam
hardware.graphics.enable32Bit = true;

Expand Down

0 comments on commit 00326bb

Please sign in to comment.