NixOS Audio IO not working

Hello, I recently got a new laptop, the Lambda/Razer tensorbook, which ships with ubuntu. I installed NixOS onto it with no issues, and I’m using hyprland as my compositor. Audio works, but I can’t change the volume and when I select a mic to use for Discord or Slack in my browser (Brave) or in OBS, the input isn’t showing up. Same with output in those cases. The audio for the desktop works though, eg notifications and such.

Is there something I’m missing in my config?

  sound.enable = true;
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    audio.enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    jack.enable = true;
    wireplumber.enable = true;
  };
CPU: 12th Gen Intel i7-12800H (20) @ 4.700GHz
GPU: NVIDIA Geforce RTX 3070 Ti Laptop GPU 
GPU: Intel Alder Lake-P

In the apps mentioned, it seems the only available input sources are from the Alder Lake. Not sure if that has something to do with it. Also, plugging in headphones that have a mic works, but without it doesn’t.

lspci -v output

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IOMMU group 1
	Capabilities: <access denied>
	Kernel driver in use: igen6_edac
	Kernel modules: igen6_edac

00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 2
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 3000-3fff [size=4K] [16-bit]
	Memory behind bridge: 83000000-840fffff [size=17M] [32-bit]
	Prefetchable memory behind bridge: 6000000000-6401ffffff [size=16416M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 211, IOMMU group 0
	Memory at 645b000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 193, IOMMU group 3
	Memory at 645c100000 (64-bit, non-prefetchable) [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal_pci
	Kernel modules: processor_thermal_device_pci

00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 4
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 84400000-844fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 124, IOMMU group 5
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 84300000-843fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: fast devsel, IRQ 255, IOMMU group 6
	Memory at 645c148000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
	DeviceName: Onboard - Other
	Flags: fast devsel, IOMMU group 7
	Memory at 645c130000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec

00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01) (prog-if 30 [XHCI])
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, medium devsel, latency 0, IRQ 190, IOMMU group 8
	Memory at 645c120000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
	DeviceName: Onboard - Other
	Flags: fast devsel, IOMMU group 8
	Memory at 645c140000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Memory at 645c147000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
	DeviceName: Onboard - Ethernet
	Subsystem: Rivet Networks Device 1692
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 9
	Memory at 645c13c000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 10
	Memory at 4017000000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 192, IOMMU group 11
	Memory at 645c145000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 125, IOMMU group 12
	Bus: primary=00, secondary=04, subordinate=6d, sec-latency=0
	I/O behind bridge: 5000-7fff [size=12K] [16-bit]
	Memory behind bridge: 54000000-820fffff [size=737M] [32-bit]
	Prefetchable memory behind bridge: 6410000000-645a0fffff [size=1185M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Device 51b0 (rev 01) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 13
	Bus: primary=00, secondary=6e, subordinate=6e, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 84200000-842fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IOMMU group 14

00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
	DeviceName: Onboard - Sound
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 32, IRQ 212, IOMMU group 14
	Memory at 645c138000 (64-bit, non-prefetchable) [size=16K]
	Memory at 645c000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: medium devsel, IRQ 16, IOMMU group 14
	Memory at 645c144000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Razer USA Ltd. Device 201f
	Flags: fast devsel, IOMMU group 14
	Memory at 52400000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci

01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 210, IOMMU group 15
	Memory at 83000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 6000000000 (64-bit, prefetchable) [size=16G]
	Memory at 6400000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 3000 [size=128]
	Expansion ROM at 84000000 [virtual] [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 15
	Memory at 84080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

02:00.0 Non-Volatile memory controller: Solid State Storage Technology Corporation Device 1001 (rev 01) (prog-if 02 [NVM Express])
	Subsystem: INNOGRIT Corporation Device 5236
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 16
	Memory at 84430000 (64-bit, non-prefetchable) [size=16K]
	Memory at 84420000 (64-bit, non-prefetchable) [size=64K]
	Expansion ROM at 84400000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

03:00.0 Non-Volatile memory controller: Solid State Storage Technology Corporation Device 1001 (rev 01) (prog-if 02 [NVM Express])
	Subsystem: INNOGRIT Corporation Device 5236
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 17
	Memory at 84330000 (64-bit, non-prefetchable) [size=16K]
	Memory at 84320000 (64-bit, non-prefetchable) [size=64K]
	Expansion ROM at 84300000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

04:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201b
	Physical Slot: 8
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 18
	Bus: primary=04, secondary=05, subordinate=6d, sec-latency=0
	I/O behind bridge: 5000-6fff [size=8K] [16-bit]
	Memory behind bridge: 54000000-81efffff [size=735M] [32-bit]
	Prefetchable memory behind bridge: 6410000000-645a0fffff [size=1185M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

05:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201b
	Flags: bus master, fast devsel, latency 0, IRQ 127, IOMMU group 19
	Bus: primary=05, secondary=06, subordinate=06, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: 645a000000-645a0fffff [size=1M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

05:01.0 PCI bridge: Intel Corporation Device 1133 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201b
	Flags: bus master, fast devsel, latency 0, IRQ 128, IOMMU group 20
	Bus: primary=05, secondary=07, subordinate=39, sec-latency=0
	I/O behind bridge: 5000-5fff [size=4K] [16-bit]
	Memory behind bridge: 6af00000-81dfffff [size=367M] [32-bit]
	Prefetchable memory behind bridge: 6435000000-6459ffffff [size=592M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

05:02.0 PCI bridge: Intel Corporation Device 1133 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201b
	Flags: bus master, fast devsel, latency 0, IRQ 129, IOMMU group 21
	Bus: primary=05, secondary=3a, subordinate=3a, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: 81e00000-81efffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

05:03.0 PCI bridge: Intel Corporation Device 1133 (rev 02) (prog-if 00 [Normal decode])
	Subsystem: Razer USA Ltd. Device 201b
	Flags: bus master, fast devsel, latency 0, IRQ 130, IOMMU group 22
	Bus: primary=05, secondary=3b, subordinate=6d, sec-latency=0
	I/O behind bridge: 6000-6fff [size=4K] [16-bit]
	Memory behind bridge: 54000000-6aefffff [size=367M] [32-bit]
	Prefetchable memory behind bridge: 6410000000-6434ffffff [size=592M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:00.0 USB controller: Intel Corporation Device 1134 (prog-if 40 [USB4 Host Interface])
	Subsystem: Razer USA Ltd. Device 201b
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 23
	Memory at 645a000000 (64-bit, prefetchable) [size=256K]
	Memory at 645a040000 (64-bit, prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt

3a:00.0 USB controller: Intel Corporation Device 1135 (prog-if 30 [XHCI])
	Flags: bus master, fast devsel, latency 0, IRQ 191, IOMMU group 24
	Memory at 81e00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

6e:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) (prog-if 01)
	Subsystem: Razer USA Ltd. Device 201f
	Flags: bus master, fast devsel, latency 0, IRQ 189, IOMMU group 25
	Memory at 84201000 (32-bit, non-prefetchable) [size=4K]
	Memory at 84200000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci