bluetooth

This commit is contained in:
janis 2026-06-03 00:27:49 +02:00
parent 77951e7a1a
commit 39f587bff6
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8
3 changed files with 30 additions and 0 deletions

View file

@ -19,5 +19,6 @@
./wallpapers.nix
./waybar.nix
./zsh.nix
./wireless.nix
];
}

7
home/wireless.nix Normal file
View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
# services.blueman-applet.enable = true;
home.packages = with pkgs; [
# Bluetooth
bluetui
];
}

View file

@ -12,4 +12,26 @@
wifi.backend = "iwd"; # Use iwd for Wi-Fi management.
extraFlags = [ "--nodnsproxy" ];
};
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
# Shows battery charge of connected devices on supported
# Bluetooth adapters. Defaults to 'false'.
Experimental = true;
# When enabled other devices can connect faster to us, however
# the tradeoff is increased power consumption. Defaults to
# 'false'.
FastConnectable = true;
};
Policy = {
# Enable all controllers when they are found. This includes
# adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'true'.
AutoEnable = true;
};
};
};
}