From eb6422e94356167c91d2dff683ba88b2c1d27eaf Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 25 Mar 2023 09:11:44 -0700 Subject: [PATCH] Moved openGL config into steam module I originally added the openGL config for steam so I think it makes sense to define that in the steam module. --- modules/apps/steam/default.nix | 6 ++++++ systems/x86_64-linux/gospel/default.nix | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/apps/steam/default.nix b/modules/apps/steam/default.nix index 229fa73..97a0818 100644 --- a/modules/apps/steam/default.nix +++ b/modules/apps/steam/default.nix @@ -18,5 +18,11 @@ in { remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; }; + + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + }; }; } diff --git a/systems/x86_64-linux/gospel/default.nix b/systems/x86_64-linux/gospel/default.nix index 5933c2f..7c8971d 100644 --- a/systems/x86_64-linux/gospel/default.nix +++ b/systems/x86_64-linux/gospel/default.nix @@ -36,12 +36,6 @@ boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"]; - hardware.opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; - }; - nixpkgs.config.allowUnfree = true; networking.hostName = "gospel"; # Define your hostname.