From 635a1e008dec6d008ca02834be977b23df3cf0e9 Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 6 Dec 2023 17:22:32 +0100 Subject: refactor(treewide): move opengl out of hosts --- hosts/thinklappi/default.nix | 1 - sys/default.nix | 1 + sys/opengl/default.nix | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sys/opengl/default.nix 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; +} -- cgit 1.4.1