Skip to content

Commit

Permalink
Update gnome.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Aug 30, 2024
1 parent 371a4ce commit f08c202
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/nixos/desktop/gnome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# =================================
{ pkgs, ... }:
let
isAarch64 = builtins.currentSystem == "aarch64";

x86_64-opengl = {
enable = true;
driSupport = true;
Expand All @@ -17,7 +15,7 @@ let
driSupport = true;
};

opengl = if isAarch64 then aarch64-opengl else x86_64-opengl;
opengl = if pkgs.stdenv.isAarch64 then aarch64-opengl else x86_64-opengl;
in
{
config = {
Expand Down

0 comments on commit f08c202

Please sign in to comment.