better bluetooth integration
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
services.blueman.enable = true;
|
|
||||||
}
|
|
||||||
@@ -11,12 +11,7 @@
|
|||||||
"nm-applet"
|
"nm-applet"
|
||||||
"blueman-applet"
|
"blueman-applet"
|
||||||
"swww-daemon"
|
"swww-daemon"
|
||||||
"swayidle -w \
|
"swayidle -w timeout 300 'hyprlock' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'hyprlock'"
|
||||||
timeout 300 'hyprlock' \
|
|
||||||
timeout 360 'hyprctl dispatch dpms off' \
|
|
||||||
resume 'hyprctl dispatch dpms on' \
|
|
||||||
before-sleep 'hyprlock'
|
|
||||||
"
|
|
||||||
"swww img $HOME/Bilder/Wallpapers/mountain.jpg"
|
"swww img $HOME/Bilder/Wallpapers/mountain.jpg"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -230,7 +230,8 @@ let
|
|||||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
"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-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": "{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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
../../modules/desktop/hyprland.nix
|
../../modules/desktop/hyprland.nix
|
||||||
../../modules/input/katana.nix
|
../../modules/input/katana.nix
|
||||||
../../modules/networking/networkmanager.nix
|
../../modules/networking/networkmanager.nix
|
||||||
|
../../modules/networking/bluetooth.nix
|
||||||
../../modules/system/locale.nix
|
../../modules/system/locale.nix
|
||||||
../../modules/system/audio.nix
|
../../modules/system/audio.nix
|
||||||
../../modules/system/printing.nix
|
../../modules/system/printing.nix
|
||||||
|
|||||||
@@ -41,9 +41,5 @@
|
|||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
hardware.bluetooth = {
|
|
||||||
enable = true;
|
|
||||||
powerOnBoot = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
8
modules/networking/bluetooth.nix
Normal file
8
modules/networking/bluetooth.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.blueman.enable = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user