about summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 08:56:52 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 09:31:45 -0700
commit4400b3cc00d38b3c82e061785ea4ef97a0947c8c (patch)
tree32a7d988dc9ca1517eccf24f48e4e7f0180df7a9 /profiles
parentfix(gerrit-hook): update the configuration with correct URL (diff)
downloadworld-4400b3cc00d38b3c82e061785ea4ef97a0947c8c.tar.gz
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 <franck@fcuny.net>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/bluetooth/default.nix9
-rw-r--r--profiles/default.nix5
2 files changed, 1 insertions, 13 deletions
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 ]; }