From 4400b3cc00d38b3c82e061785ea4ef97a0947c8c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Jun 2022 08:56:52 -0700 Subject: ref(bluetooth): remove the profile I don't need a profile for this, the module can be consumed directly from the host's hardware configuration. It removes one level of indirection and helps us toward the goal of completely removing all the profiles. Change-Id: I95a6fdc985420e7fe0ad737e7576d10d5c7eb114 Reviewed-on: https://cl.fcuny.net/c/world/+/289 Reviewed-by: Franck Cuny --- profiles/bluetooth/default.nix | 9 --------- profiles/default.nix | 5 +---- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 profiles/bluetooth/default.nix (limited to 'profiles') diff --git a/profiles/bluetooth/default.nix b/profiles/bluetooth/default.nix deleted file mode 100644 index ffd05b4..0000000 --- a/profiles/bluetooth/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, lib, ... }: -let cfg = config.my.profiles.bluetooth; -in { - options.my.profiles.bluetooth = with lib; { - enable = mkEnableOption "bluetooth profile"; - }; - - config = lib.mkIf cfg.enable { my.hardware.bluetooth.enable = true; }; -} diff --git a/profiles/default.nix b/profiles/default.nix index d683b58..9c0d2f9 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1,4 +1 @@ -{ ... }: { - imports = - [ ./bluetooth ./laptop ./gtk ./trusted ./wm ./desktop ./multimedia ]; -} +{ ... }: { imports = [ ./laptop ./gtk ./trusted ./wm ./desktop ./multimedia ]; } -- cgit 1.4.1