about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/aptos/hardware.nix2
-rw-r--r--hosts/aptos/profile.nix1
-rw-r--r--profiles/bluetooth/default.nix9
-rw-r--r--profiles/default.nix5
4 files changed, 3 insertions, 14 deletions
diff --git a/hosts/aptos/hardware.nix b/hosts/aptos/hardware.nix
index 085db9f..2189a6f 100644
--- a/hosts/aptos/hardware.nix
+++ b/hosts/aptos/hardware.nix
@@ -41,5 +41,7 @@
     [{ device = "/dev/disk/by-uuid/24041034-ff39-44bf-a04c-8fd8318b554d"; }];
 
   my.hardware.intel.enable = true;
+  my.hardware.bluetooth.enable = true;
+
   powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 }
diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix
index 4e5b48d..1ba221e 100644
--- a/hosts/aptos/profile.nix
+++ b/hosts/aptos/profile.nix
@@ -6,7 +6,6 @@
   my.profiles = {
     # Laptop specific configuration
     laptop.enable = true;
-    bluetooth.enable = true;
     desktop.enable = true;
     multimedia.enable = true;
     trusted.enable = true;
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 ]; }