summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-12-06 17:19:30 +0100
committersils <sils@sils.li>2023-12-06 17:19:30 +0100
commit2c00474c3f196306f21de7e635d4f13f1641af8b (patch)
tree511be56a00c6e2f2901e02728add7609a69729cd
parentrefactor(treewide): move security config out of hosts (diff)
downloadnix-config-2c00474c3f196306f21de7e635d4f13f1641af8b.tar.gz
nix-config-2c00474c3f196306f21de7e635d4f13f1641af8b.zip
refactor(treewide): move bluetooth declaration out of hosts
-rw-r--r--hosts/thinklappi/default.nix1
-rw-r--r--sys/bluetooth/default.nix3
-rw-r--r--sys/default.nix1
3 files changed, 4 insertions, 1 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
index dc347ba..bc978c4 100644
--- a/hosts/thinklappi/default.nix
+++ b/hosts/thinklappi/default.nix
@@ -11,7 +11,6 @@
 
   hardware = {
     opengl.enable = true;
-    bluetooth.enable = true;
     pulseaudio.enable = false;
   };
 
diff --git a/sys/bluetooth/default.nix b/sys/bluetooth/default.nix
new file mode 100644
index 0000000..6dc8d17
--- /dev/null
+++ b/sys/bluetooth/default.nix
@@ -0,0 +1,3 @@
+{...}: {
+  hardware.bluetooth.enable = true;
+}
diff --git a/sys/default.nix b/sys/default.nix
index a01da4d..67112f7 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -1,5 +1,6 @@
 {...}: {
   imports = [
+    ./bluetooth
     ./desktop/hyprland
     ./desktop/sway
     ./environment