Skip to content

Commit

Permalink
fix(nix): change pulse audio to pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Feb 18, 2024
1 parent 9c313c6 commit b837b99
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions system/nixos/profiles/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,28 @@ in
config = mkIf cfg.enable {
services.printing.enable = true;

# Sound setting
sound.enable = true;

environment.systemPackages = with pkgs; [
pamixer
firefox
];

# Enable sound with pipewire.
sound.enable = true;
hardware = {
pulseaudio = {
enable = true;
enable = false;
support32Bit = true;
package = pkgs.pulseaudioFull;
};
};
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};

# Desktop environment flavor
services.xserver = {
Expand Down

0 comments on commit b837b99

Please sign in to comment.