better bluetooth integration

This commit is contained in:
2025-07-15 10:45:43 +02:00
parent 16b83b8420
commit ff226f342c
6 changed files with 12 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
{
services.blueman.enable = true;
}

View File

@@ -11,12 +11,7 @@
"nm-applet"
"blueman-applet"
"swww-daemon"
"swayidle -w \
timeout 300 'hyprlock' \
timeout 360 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
before-sleep 'hyprlock'
"
"swayidle -w timeout 300 'hyprlock' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'hyprlock'"
"swww img $HOME/Bilder/Wallpapers/mountain.jpg"
];

View File

@@ -230,7 +230,8 @@ let
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "blueman-manager"
}
}
'';

View File

@@ -5,6 +5,7 @@
../../modules/desktop/hyprland.nix
../../modules/input/katana.nix
../../modules/networking/networkmanager.nix
../../modules/networking/bluetooth.nix
../../modules/system/locale.nix
../../modules/system/audio.nix
../../modules/system/printing.nix

View File

@@ -41,9 +41,5 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
}

View File

@@ -0,0 +1,8 @@
{
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
services.blueman.enable = true;
}