Further modularization of machine

This commit is contained in:
2026-03-13 20:00:31 +01:00
parent df97635951
commit a35fd355a7
3 changed files with 395 additions and 381 deletions
+376 -371
View File
File diff suppressed because it is too large Load Diff
+10 -5
View File
@@ -597,14 +597,19 @@ This sets the dbus implementation
#+BEGIN_SRC nix :tangle assets/flake/machines/traveldroid/dbus.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, ... }:
{
services.dbus-broker = {
services.dbus = {
enable = true;
settings = {
MaxConnectionsPerUser = 2048; # Increase if you have many D-Bus clients
LogLevel = "warning"; # Reduce verbosity
};
package = pkgs.dbus-broker; # Use dbus-broker instead of the reference dbus
};
# Optional: Configure dbus-broker settings via environment variables
environment.etc."dbus-broker/launch.conf".text = ''
[General]
LogLevel=warning
MaxConnectionsPerUser=2048
'';
}
#+END_SRC
** =assets/flake/machines/traveldroid/bluetooth.nix=
@@ -1,10 +1,14 @@
{ config, pkgs, ... }:
{
services.dbus-broker = {
services.dbus = {
enable = true;
settings = {
MaxConnectionsPerUser = 2048; # Increase if you have many D-Bus clients
LogLevel = "warning"; # Reduce verbosity
};
package = pkgs.dbus-broker; # Use dbus-broker instead of the reference dbus
};
# Optional: Configure dbus-broker settings via environment variables
environment.etc."dbus-broker/launch.conf".text = ''
[General]
LogLevel=warning
MaxConnectionsPerUser=2048
'';
}