about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-05 11:51:51 +0100
committerene <ene@sils.li>2023-03-05 11:51:51 +0100
commit72697f6e0faf15869e11981faedd4dfd38575a3d (patch)
tree003e253b2d6d943e8dd3c671ac7f6192a79f74b6
parentFix(hm/wms/river): Use different monitor settings per host (diff)
downloadnixos-config-72697f6e0faf15869e11981faedd4dfd38575a3d.tar.gz
nixos-config-72697f6e0faf15869e11981faedd4dfd38575a3d.zip
Fix(system/graphics): Activate opengl
Diffstat (limited to '')
-rw-r--r--system/default.nix1
-rw-r--r--system/graphics/default.nix4
2 files changed, 5 insertions, 0 deletions
diff --git a/system/default.nix b/system/default.nix
index c7a2400f..85971ba5 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -9,6 +9,7 @@
     ./sound
     ./users # the position of this item is fully arbitrary
     ./polkit
+    ./graphics
   ];
     # TODO does this really remove all the bloatware, nixos installs by default?
     environment = {
diff --git a/system/graphics/default.nix b/system/graphics/default.nix
new file mode 100644
index 00000000..eb92d5ec
--- /dev/null
+++ b/system/graphics/default.nix
@@ -0,0 +1,4 @@
+{config, ...}: {
+  hardware.opengl.enable = true;
+}
+# vim: ts=2