Regenerated
This commit is contained in:
+18
-9
@@ -363,12 +363,10 @@ in
|
||||
"i915.enable_psr2_sel_fetch=0"
|
||||
# Prevent nvme from waking the system
|
||||
"nvme.noacpi=1"
|
||||
# Getting speakers to work
|
||||
"snd-intel-dspcfg.dsp_driver=0"
|
||||
"snd_hda_intel.model=generic"
|
||||
"snd_hda_intel.enable_msi=0"
|
||||
"snd_hda_intel.power_save=0"
|
||||
];
|
||||
boot.extraModprobeConfig = ''
|
||||
options snd_hda_intel power_save=0
|
||||
'';
|
||||
boot.consoleLogLevel = 0;
|
||||
#boot.initrd.systemd.enable = true;
|
||||
boot.initrd.availableKernelModules = [
|
||||
@@ -1607,18 +1605,29 @@ in
|
||||
** =generated/modules/traveldroid/system/audio.nix=
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/audio.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
############################
|
||||
# Audio system
|
||||
############################
|
||||
|
||||
# Disable PulseAudio (PipeWire replaces it)
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true; # PulseAudio compatibility layer
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pulseaudio # PulseAudio daemon
|
||||
pavucontrol # GUI mixer
|
||||
pamixer # CLI mixer
|
||||
playerctl # Player controls
|
||||
alsa-utils # Sound utils
|
||||
inxi
|
||||
alsa-utils # aplay, amixer etc.
|
||||
pwvucontrol # PipeWire volume control (optional but useful)
|
||||
];
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
Reference in New Issue
Block a user