summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-12-06 17:22:32 +0100
committersils <sils@sils.li>2023-12-06 17:22:32 +0100
commit635a1e008dec6d008ca02834be977b23df3cf0e9 (patch)
tree710f635dac2776781bc2ba12acfd3dc2d368681e
parentrefactor(treewide): move bluetooth declaration out of hosts (diff)
downloadnix-config-635a1e008dec6d008ca02834be977b23df3cf0e9.tar.gz
nix-config-635a1e008dec6d008ca02834be977b23df3cf0e9.zip
refactor(treewide): move opengl out of hosts
-rw-r--r--hosts/thinklappi/default.nix1
-rw-r--r--sys/default.nix1
-rw-r--r--sys/opengl/default.nix3
3 files changed, 4 insertions, 1 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
index bc978c4..7e55849 100644
--- a/hosts/thinklappi/default.nix
+++ b/hosts/thinklappi/default.nix
@@ -10,7 +10,6 @@
   ];
 
   hardware = {
-    opengl.enable = true;
     pulseaudio.enable = false;
   };
 
diff --git a/sys/default.nix b/sys/default.nix
index 67112f7..a6be9eb 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -9,6 +9,7 @@
     ./keyboard
     ./networking
     ./nix
+    ./opengl
     ./packages
     ./services
     ./sound
diff --git a/sys/opengl/default.nix b/sys/opengl/default.nix
new file mode 100644
index 0000000..3eb41d1
--- /dev/null
+++ b/sys/opengl/default.nix
@@ -0,0 +1,3 @@
+{...}: {
+  hardware.opengl.enable = true;
+}