From f466c4e3ddf9b1a505bfab69761622f1f0a1b7ac Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 5 Jul 2023 17:46:16 +0300 Subject: [PATCH] add nixopts search engine and fix bluetooth --- config/qutebrowser/config.py | 3 ++- configuration.nix | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 8afb7d00..898d42ad 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -102,7 +102,8 @@ config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:90.0) Gecko # SEarch Engine c.url.searchengines = { 'DEFAULT': 'https://duckduckgo.com/?ia=web&q={}', - 'nixpkgs': 'https://search.nixos.org/packages?query={}' + 'nixpkgs': 'https://search.nixos.org/packages?query={}', + 'nixopts': 'https://search.nixos.org/options?query={}' } # User agent to send. The following placeholders are defined: * diff --git a/configuration.nix b/configuration.nix index f28a1ef6..7642656b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -117,7 +117,14 @@ }; # Bluetooth - hardware.bluetooth.enable = true; + hardware.bluetooth = { + enable = true; + settings = { + General = { + ControllerMode = "bredr"; + }; + }; + }; services.blueman.enable = true; # Enable CUPS to print documents.