bluetooth
This commit is contained in:
parent
77951e7a1a
commit
39f587bff6
|
|
@ -19,5 +19,6 @@
|
|||
./wallpapers.nix
|
||||
./waybar.nix
|
||||
./zsh.nix
|
||||
./wireless.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
7
home/wireless.nix
Normal file
7
home/wireless.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
# services.blueman-applet.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
# Bluetooth
|
||||
bluetui
|
||||
];
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue