fix: Fix audio for xps 9315

This commit is contained in:
Pim Kunis 2024-08-04 10:58:07 +02:00
parent aa7c2bac3b
commit 1f70f75ca7
2 changed files with 4 additions and 2 deletions

View file

@ -35,14 +35,13 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
};
users = {
users.pim = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ];
extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" "audio" ];
};
};
@ -78,6 +77,7 @@
yq
ncdu
lshw
pciutils
]) ++ (with pkgs.gnomeExtensions; [
pop-shell
window-is-ready-remover
@ -225,6 +225,7 @@
hardware = {
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
pulseaudio.enable = false;
enableRedistributableFirmware = true;
};
stylix = {

View file

@ -76,6 +76,7 @@
swapDevices = [{ device = "/dev/disk/by-uuid/6028bf52-404d-4143-9cb0-9b06cd60a373"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "rtsx_pci_sdmmc" ];
hardware.firmware = [ pkgs.sof-firmware ];
};
});