From 50f70e6f0d51e31b1a3a0e07e470d59516be6b60 Mon Sep 17 00:00:00 2001 From: Christian Ott Date: Sun, 23 Jun 2024 10:30:57 +0200 Subject: [PATCH] enable bluetooth --- configuration.nix | 4 ++++ hyperland/default.nix | 3 +++ 2 files changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index e226ff2..3fde794 100644 --- a/configuration.nix +++ b/configuration.nix @@ -87,6 +87,10 @@ # Enable non-root access to QMK firmware hardware.keyboard.qmk.enable = true; + + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + services.blueman.enable = true; # Configure keymap in X11 # services.xserver.xkb.layout = "us"; # services.xserver.xkb.options = "eurosign:e,caps:escape"; diff --git a/hyperland/default.nix b/hyperland/default.nix index 914e10d..b6dc34d 100644 --- a/hyperland/default.nix +++ b/hyperland/default.nix @@ -123,6 +123,7 @@ in "dunst" "waybar" "${pkgs.networkmanagerapplet}/bin/nm-applet --sm-disable --indicator" + "blueman-applet" "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" ]; @@ -161,6 +162,8 @@ in "size 70% 70%, title:(1Password)" "center, title:(1Password)" + "float,class:(.blueman-manager-wrapped)" + "size 25% 25%,class:(.blueman-manager-wrapped)" "float,class:(org.kde.polkit-kde-authentication-agent-1)" "opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$"