Compare commits

..

2 Commits

Author SHA1 Message Date
6663ea8286 禁用声音休眠,避免播放后n秒才出现声音 2025-04-30 11:37:17 +08:00
5d43285e9e 重设网关; 增加gopath 2025-04-30 10:18:19 +08:00
4 changed files with 33 additions and 13 deletions

View File

@@ -40,10 +40,6 @@
htop # process monitor
pciutils # lspci etc.
];
sessionVariables = {
JAVA_HOME = "";
};
};

View File

@@ -1,9 +1,9 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
imports = [
];
home = {
packages = with pkgs.unstable; [
dbeaver-bin
@@ -14,5 +14,9 @@
steam-run
jetbrains.idea-community
];
sessionVariables = {
GOPATH = "${config.home.homeDirectory}/data/go";
};
};
}

View File

@@ -8,14 +8,34 @@
# If you want to use JACK applications, uncomment this
#jack.enable = true;
wireplumber.extraConfig.bluetoothEnhancements = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
wireplumber.extraConfig = {
bluetoothEnhancements = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
};
};
extraConfig."99-disable-suspend" = {
"monitor.alsa.rules" = [
{
matches = [
{
"node.name" = "alsa_output.usb-ASUSTeK_Xonar_SoundCard-00.iec958-stereo";
}
];
actions = {
update-props = {
"session.suspend-timeout-seconds" = 0;
};
};
}
];
};
};
};
};

View File

@@ -49,7 +49,7 @@
};
defaultGateway = {
address = "10.7.43.1";
address = "10.7.43.30";
interface = "eno1";
# interface = "br0";
};