summaryrefslogtreecommitdiff
path: root/modules/pc/variables/opengl.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-01 06:17:12 -0700
committerFuwn <[email protected]>2024-10-01 06:17:12 -0700
commit1422c6d330133fc8f382b43cb815a24d15dc651d (patch)
tree59a4b7a11783775af63f24aa18344b77fe43822f /modules/pc/variables/opengl.nix
parentmodules: move emulated systems to extended nix configuration (diff)
downloadnixos-config-1422c6d330133fc8f382b43cb815a24d15dc651d.tar.xz
nixos-config-1422c6d330133fc8f382b43cb815a24d15dc651d.zip
modules: move variables and initrd systemd to pc
Diffstat (limited to 'modules/pc/variables/opengl.nix')
-rw-r--r--modules/pc/variables/opengl.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/pc/variables/opengl.nix b/modules/pc/variables/opengl.nix
new file mode 100644
index 0000000..1edce45
--- /dev/null
+++ b/modules/pc/variables/opengl.nix
@@ -0,0 +1,7 @@
+{
+ environment.variables = {
+ __GL_GSYNC_ALLOWED = "1";
+ __GL_VRR_ALLOWED = "0";
+ __GL_MaxFramesAllowed = "1";
+ };
+}