modules: hardware: move 'bluetooth'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:37:07 +02:00
parent 66cd746e53
commit ec1bc63de7
4 changed files with 4 additions and 5 deletions

View file

@ -3,7 +3,6 @@
{
imports = [
./bluetooth.nix
./documentation.nix
./ergodox.nix
./hardware

View file

@ -1,9 +1,9 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.modules.bluetooth;
cfg = config.my.hardware.bluetooth;
in
{
options.my.modules.bluetooth = with lib; {
options.my.hardware.bluetooth = with lib; {
enable = mkEnableOption "bluetooth configuration";
enableHeadsetIntegration = my.mkDisableOption "A2DP sink configuration";

View file

@ -3,6 +3,6 @@
{
imports = [
# FIXME: add modules
./bluetooth.nix
];
}