Regenerated
This commit is contained in:
+422
-413
File diff suppressed because it is too large
Load Diff
+18
-9
@@ -363,12 +363,10 @@ in
|
|||||||
"i915.enable_psr2_sel_fetch=0"
|
"i915.enable_psr2_sel_fetch=0"
|
||||||
# Prevent nvme from waking the system
|
# Prevent nvme from waking the system
|
||||||
"nvme.noacpi=1"
|
"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.consoleLogLevel = 0;
|
||||||
#boot.initrd.systemd.enable = true;
|
#boot.initrd.systemd.enable = true;
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
@@ -1607,18 +1605,29 @@ in
|
|||||||
** =generated/modules/traveldroid/system/audio.nix=
|
** =generated/modules/traveldroid/system/audio.nix=
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/audio.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/audio.nix :noweb yes :mkdirp yes :eval never
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
############################
|
############################
|
||||||
# Audio system
|
# 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
pulseaudio # PulseAudio daemon
|
|
||||||
pavucontrol # GUI mixer
|
pavucontrol # GUI mixer
|
||||||
pamixer # CLI mixer
|
pamixer # CLI mixer
|
||||||
playerctl # Player controls
|
playerctl # Player controls
|
||||||
alsa-utils # Sound utils
|
alsa-utils # aplay, amixer etc.
|
||||||
inxi
|
pwvucontrol # PipeWire volume control (optional but useful)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -22,12 +22,10 @@
|
|||||||
"i915.enable_psr2_sel_fetch=0"
|
"i915.enable_psr2_sel_fetch=0"
|
||||||
# Prevent nvme from waking the system
|
# Prevent nvme from waking the system
|
||||||
"nvme.noacpi=1"
|
"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.consoleLogLevel = 0;
|
||||||
#boot.initrd.systemd.enable = true;
|
#boot.initrd.systemd.enable = true;
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
|||||||
@@ -1,16 +1,27 @@
|
|||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
############################
|
############################
|
||||||
# Audio system
|
# 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
pulseaudio # PulseAudio daemon
|
|
||||||
pavucontrol # GUI mixer
|
pavucontrol # GUI mixer
|
||||||
pamixer # CLI mixer
|
pamixer # CLI mixer
|
||||||
playerctl # Player controls
|
playerctl # Player controls
|
||||||
alsa-utils # Sound utils
|
alsa-utils # aplay, amixer etc.
|
||||||
inxi
|
pwvucontrol # PipeWire volume control (optional but useful)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user