From f966c944f9adffc45d856951a2ba43ac6cbb1a03 Mon Sep 17 00:00:00 2001
From: soraefir <soraefir+git@helcel>
Date: Tue, 16 Apr 2024 01:30:23 +0200
Subject: [PATCH] Fix BLE

---
 modules/nixos/system/network/bluetooth/default.nix | 2 +-
 systems/iriy/cfg.nix                               | 1 +
 systems/valinor/cfg.nix                            | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/nixos/system/network/bluetooth/default.nix b/modules/nixos/system/network/bluetooth/default.nix
index f10c57e..cb3e487 100644
--- a/modules/nixos/system/network/bluetooth/default.nix
+++ b/modules/nixos/system/network/bluetooth/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }: {
+{ config, lib, pkgs, ... }: {
   config = lib.mkIf (config.syscfg.net.ble.enable) {
     hardware.bluetooth.enable = true;
     services.blueman.enable = true;
diff --git a/systems/iriy/cfg.nix b/systems/iriy/cfg.nix
index 0b1bb71..fd5bf58 100644
--- a/systems/iriy/cfg.nix
+++ b/systems/iriy/cfg.nix
@@ -20,6 +20,7 @@
       develop = true;
     };
     net = {
+      ble = { enable = true; };
       wlp = {
         enable = true;
         nif = "wlp11s0";
diff --git a/systems/valinor/cfg.nix b/systems/valinor/cfg.nix
index 6fd08b8..8b3e799 100644
--- a/systems/valinor/cfg.nix
+++ b/systems/valinor/cfg.nix
@@ -20,6 +20,7 @@
       develop = true;
     };
     net = {
+      ble = { enable = true; };
       wlp = {
         enable = true;
         nif = "wlp3s0";