moby: enable hardware.driSupport

not extensively tested, but the basics seem to work.
This commit is contained in:
2022-09-27 23:23:37 -07:00
parent ae220ab2e1
commit bb7e2ee70a
2 changed files with 3 additions and 0 deletions

View File

@@ -82,4 +82,6 @@
systemd.services.pulseaudio.environment.ALSA_CONFIG_UCM2 = "${./ucm2}"; systemd.services.pulseaudio.environment.ALSA_CONFIG_UCM2 = "${./ucm2}";
users.groups.feedbackd.gid = config.sane.allocations.feedbackd-gid; users.groups.feedbackd.gid = config.sane.allocations.feedbackd-gid;
hardware.opengl.driSupport = true;
} }

View File

@@ -17,6 +17,7 @@
# https://nixos.wiki/wiki/Slack#Wayland # https://nixos.wiki/wiki/Slack#Wayland
# Discord under sway crashes with this. # Discord under sway crashes with this.
# NIXOS_OZONE_WL = "1"; # NIXOS_OZONE_WL = "1";
# LIBGL_ALWAYS_SOFTWARE = "1";
}; };
} }