forked from stitchy/dotfiles
try new thing
This commit is contained in:
parent
159b4f4826
commit
a6d7a7b04c
1 changed files with 13 additions and 28 deletions
|
@ -65,43 +65,28 @@ in
|
||||||
'')
|
'')
|
||||||
];*/
|
];*/
|
||||||
|
|
||||||
/*
|
|
||||||
services.pipewire.wireplumber.configPackages = [
|
services.pipewire.wireplumber.configPackages = [
|
||||||
(pkgs.writeTextDir "share/wireplumber/quailcum.lua.d/51-qcom-sdm845.lua" ''
|
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/51-qcom-sdm845.lua" ''
|
||||||
-- PipeWire's S24LE default audio format is broken in the kernel driver
|
monitor.alsa.rules = [
|
||||||
alsa_monitor.rules = [
|
|
||||||
{
|
{
|
||||||
matches = {
|
matches = [
|
||||||
{ "node.name" = "alsa_output.*.HiFi*__sink" },
|
{
|
||||||
{ "node.name" = "alsa_input.*.HiFi*__source" }
|
node.name = "~alsa_output.*"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
actions = {
|
actions = {
|
||||||
update-props = {
|
update-props = {
|
||||||
audio.format = "S16LE",
|
audio.format = "S16LE"
|
||||||
audio.rate = 48000,
|
audio.rate = 48000
|
||||||
api.alsa.period-size = 4096,
|
api.alsa.period-size = 4096
|
||||||
api.alsa.period-num = 6,
|
api.alsa.period-num = 6
|
||||||
api.alsa.headroom = 512,
|
api.alsa.headroom = 512
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
-- Disable suspend for Voice Call devices
|
|
||||||
alsa_monitor.rules = [
|
|
||||||
{
|
|
||||||
matches = {
|
|
||||||
{ "node.name" = "alsa_output.*.Voice_Call*__sink" },
|
|
||||||
{ "node.name" ="alsa_input.*.Voice_Call*__source" }
|
|
||||||
}
|
|
||||||
actions.update=props = {
|
|
||||||
audio.format = "S16LE",
|
|
||||||
session.suspend-timeout-seconds = 0,
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
*/
|
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue