From e8d1371ae88299899a0b35b9e4ace9b8790edf47 Mon Sep 17 00:00:00 2001 From: Andrey0189 Date: Wed, 17 Apr 2024 08:15:16 +0500 Subject: [PATCH] Bluetooth --- nixos/modules/bluetooth.nix | 14 ++++++++++++++ nixos/modules/bundle.nix | 1 + nixos/packages.nix | 1 + 3 files changed, 16 insertions(+) create mode 100644 nixos/modules/bluetooth.nix diff --git a/nixos/modules/bluetooth.nix b/nixos/modules/bluetooth.nix new file mode 100644 index 0000000..6c6a5df --- /dev/null +++ b/nixos/modules/bluetooth.nix @@ -0,0 +1,14 @@ +{ + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + Enable = "Source,Sink,Media,Socket"; + Experimental = true; + }; + }; + }; + + services.blueman.enable = true; +} diff --git a/nixos/modules/bundle.nix b/nixos/modules/bundle.nix index 642194f..2a9dae9 100644 --- a/nixos/modules/bundle.nix +++ b/nixos/modules/bundle.nix @@ -10,6 +10,7 @@ ./virtmanager.nix ./hyprland.nix ./trim.nix + ./bluetooth.nix ./nixvim/nixvim.nix ]; } diff --git a/nixos/packages.nix b/nixos/packages.nix index 47ad8d5..abe650e 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -51,6 +51,7 @@ brightnessctl swww openssl + lazygit # GUI utils feh