From 09b0c4ae13c728fb1e00f440c1b2620044f53056 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sun, 3 Mar 2024 22:23:33 -0800 Subject: [PATCH] switch back to pulseaudio --- systems/BASED.nix | 2 +- systems/NOcomputer.nix | 4 ++++ users/tao.nix | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/systems/BASED.nix b/systems/BASED.nix index e80fe5e..318104a 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -92,7 +92,7 @@ pulse.enable = true; wireplumber.enable = lib.mkDefault true; }; - hardware.pulseaudio.enable = false; + hardware.pulseaudio.enable = lib.mkDefault false; security.sudo-rs.enable = true; # security.sudo-rs.extraRules = [{ diff --git a/systems/NOcomputer.nix b/systems/NOcomputer.nix index e37b393..3eb2090 100644 --- a/systems/NOcomputer.nix +++ b/systems/NOcomputer.nix @@ -1,4 +1,8 @@ {pkgs, ...}: { + services.pipewire.enable = false; + hardware.pulseaudio.enable = true; + hardware.pulseaudio.support32Bit = true; + environment.systemPackages = with pkgs; [ # egl-wayland # gpt4all-chat diff --git a/users/tao.nix b/users/tao.nix index 0789cd9..20febfb 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -138,7 +138,7 @@ users.users.tao = { isNormalUser = true; - extraGroups = ["video" "wheel" "libvirtd" "dialout" "game"]; + extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"]; shell = pkgs.nushell; };