gamescope try again???

This commit is contained in:
cnst
2024-06-30 09:39:05 +02:00
parent 8f5a19a7af
commit 0d0413c30a
10 changed files with 25 additions and 92 deletions

View File

@@ -1,13 +1,4 @@
{pkgs, ...}: {
environment.variables = {
BROWSER = "firefox";
NIXOS_OZONE_WL = 1;
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
programs.hyprland = {
enable = true;
package = pkgs.hyprland;

View File

@@ -0,0 +1,10 @@
{
services = {
xserver = {
desktopManager.gnome = {
enable = true;
};
};
gnome.games.enable = true;
};
}

View File

@@ -1,5 +1,4 @@
{pkgs, ...}: {
environment.variables.AMD_VULKAN_ICD = "RADV";
programs = {
steam = {
enable = true;
@@ -19,7 +18,6 @@
stdenv.cc.cc.lib
libkrb5
keyutils
mangohud
SDL2
SDL2_image
];

View File

@@ -21,7 +21,6 @@
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
lact
libva
vaapiVdpau
libvdpau-va-gl

View File

@@ -15,10 +15,10 @@
greetd = {
enable = true;
settings = {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "cnst";
};
# initial_session = {
# command = "${pkgs.hyprland}/bin/Hyprland";
# user = "cnst";
# };
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session";
user = "greeter";