chore: pretty up with alejandra
This commit is contained in:
parent
7bbda6140f
commit
37b85877bb
75 changed files with 584 additions and 452 deletions
|
|
@ -1,9 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.hardware.bluetooth;
|
||||
in
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.nyx-module.hardware.bluetooth;
|
||||
in {
|
||||
options.nyx-module.hardware.bluetooth = {
|
||||
enable = lib.mkEnableOption "Enable the system Bluetooth module";
|
||||
};
|
||||
|
|
@ -11,12 +13,12 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
# Enable Bluetooth support
|
||||
hardware.bluetooth = {
|
||||
enable = true; # Enable Bluetooth service
|
||||
powerOnBoot = true; # Power up the controller at boot
|
||||
enable = true; # Enable Bluetooth service
|
||||
powerOnBoot = true; # Power up the controller at boot
|
||||
};
|
||||
|
||||
# Ensure firmware is available (needed for devices like Intel AX200)
|
||||
hardware.enableAllFirmware = true;
|
||||
hardware.firmware = [ pkgs.linux-firmware ];
|
||||
hardware.firmware = [pkgs.linux-firmware];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue