diff --git a/configuration/Vanguard.nix b/configuration/Vanguard.nix index 21c369cf..8b0cb703 100644 --- a/configuration/Vanguard.nix +++ b/configuration/Vanguard.nix @@ -1,5 +1,5 @@ {config, ...}: { - imports = [./desktop.nix ./games.nix]; + imports = [./desktop.nix]; boot = { initrd.kernelModules = ["amdgpu"]; extraModulePackages = with config.boot.kernelPackages; [v4l2loopback]; @@ -7,9 +7,22 @@ options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 ''; }; - hardware.opengl = { - driSupport = true; - driSupport32Bit = true; + hardware = { + opengl = { + driSupport = true; + driSupport32Bit = true; + }; + steam-hardware.enable = true; }; services.ollama.enable = true; + programs = { + gamescope = { + enable = true; + capSysNice = true; + }; + steam = { + enable = true; + remotePlay.openFirewall = true; + }; + }; } diff --git a/configuration/desktop.nix b/configuration/desktop.nix index 1b464fba..7d58e4ba 100644 --- a/configuration/desktop.nix +++ b/configuration/desktop.nix @@ -59,6 +59,7 @@ (old: {passthru.providedSessions = ["sway"];}); wrapperFeatures.gtk = true; }; + xwayland.enable = true; }; gtk.iconCache.enable = true; qt = { diff --git a/configuration/games.nix b/configuration/games.nix deleted file mode 100644 index 13a031aa..00000000 --- a/configuration/games.nix +++ /dev/null @@ -1,21 +0,0 @@ -{pkgs, ...}: { - environment.systemPackages = with pkgs; [ - lutris - prismlauncher - (retroarch.override { - cores = with libretro; [dolphin mgba mupen64plus]; - }) - ]; - hardware.steam-hardware.enable = true; - programs = { - xwayland.enable = true; - gamescope = { - enable = true; - capSysNice = true; - }; - steam = { - enable = true; - remotePlay.openFirewall = true; - }; - }; -}