fix: Fix audio for xps 9315
This commit is contained in:
parent
aa7c2bac3b
commit
1f70f75ca7
2 changed files with 4 additions and 2 deletions
|
@ -35,14 +35,13 @@
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users.pim = {
|
users.pim = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ];
|
extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" "audio" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,6 +77,7 @@
|
||||||
yq
|
yq
|
||||||
ncdu
|
ncdu
|
||||||
lshw
|
lshw
|
||||||
|
pciutils
|
||||||
]) ++ (with pkgs.gnomeExtensions; [
|
]) ++ (with pkgs.gnomeExtensions; [
|
||||||
pop-shell
|
pop-shell
|
||||||
window-is-ready-remover
|
window-is-ready-remover
|
||||||
|
@ -225,6 +225,7 @@
|
||||||
hardware = {
|
hardware = {
|
||||||
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
pulseaudio.enable = false;
|
pulseaudio.enable = false;
|
||||||
|
enableRedistributableFirmware = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
swapDevices = [{ device = "/dev/disk/by-uuid/6028bf52-404d-4143-9cb0-9b06cd60a373"; }];
|
swapDevices = [{ device = "/dev/disk/by-uuid/6028bf52-404d-4143-9cb0-9b06cd60a373"; }];
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "rtsx_pci_sdmmc" ];
|
||||||
|
hardware.firmware = [ pkgs.sof-firmware ];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue