mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
levi: keep onboard DAC from sleeping
This commit is contained in:
parent
dfcd5ca5da
commit
196483417f
1 changed files with 13 additions and 0 deletions
|
@ -19,6 +19,19 @@ in
|
||||||
{ type = "ed25519"; path = "${persist}/ssh_host_ed25519_key"; }
|
{ type = "ed25519"; path = "${persist}/ssh_host_ed25519_key"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# speakers buzz when the onboard DAC suspends
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
wireplumber = super.wireplumber.overrideAttrs (_: {
|
||||||
|
postInstall = ''
|
||||||
|
sed -i \
|
||||||
|
's/.*session.suspend-timeout-seconds.*/["session.suspend-timeout-seconds"]=0,/' \
|
||||||
|
$out/share/wireplumber/main.lua.d/50-alsa-config.lua
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
sconfig = {
|
sconfig = {
|
||||||
gnome = true;
|
gnome = true;
|
||||||
profile = "desktop";
|
profile = "desktop";
|
||||||
|
|
Loading…
Reference in a new issue