summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-06-28 22:58:28 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-06-28 22:58:28 +0200
commitab6d088b9ef5908aff15b8bf3d50aea08930af1d (patch)
treef826b7ef6a93e54715f44fe0a4d22851e5f2efa9 /modules
parentdd6a7e9e5f1819576b3e338bb7a3fc3fa6cf56e9 (diff)
Added bluetooth configuration
Diffstat (limited to 'modules')
-rw-r--r--modules/system/bluetooth.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/system/bluetooth.nix b/modules/system/bluetooth.nix
new file mode 100644
index 0000000..414e1c8
--- /dev/null
+++ b/modules/system/bluetooth.nix
@@ -0,0 +1,22 @@
+{...}: {
+ flake.nixosModules.bluetooth = {lib, ...}: {
+ hardware.bluetooth = {
+ enable = lib.mkDefault true;
+ powerOnBoot = lib.mkDefault true;
+ settings = {
+ General = {
+ Experimental = lib.mkDefault true;
+ FastConnectable = lib.mkDefault true;
+ };
+ Policy = {
+ AutoEnable = lib.mkDefault true;
+ };
+ };
+ };
+ };
+ flake.nixosModules.herraBluetooth = {self, ...}: {
+ imports = [
+ self.nixosModules.bluetooth
+ ];
+ };
+}