From a860d7a1da9a3d52bb9c57b684d66421a588eb34 Mon Sep 17 00:00:00 2001 From: cspark Date: Sun, 16 Nov 2025 12:47:38 +0000 Subject: [PATCH] Steam now available on all devices --- configurations/desktop/configuration.nix | 52 -------------------- configurations/laptop/configuration.nix | 2 +- global.nix | 62 ++++++++++++++++++++++-- 3 files changed, 59 insertions(+), 57 deletions(-) diff --git a/configurations/desktop/configuration.nix b/configurations/desktop/configuration.nix index 4d99d79f..5d1d0704 100644 --- a/configurations/desktop/configuration.nix +++ b/configurations/desktop/configuration.nix @@ -95,58 +95,6 @@ }; }; - # Steam Game Platform - programs.steam = { - enable = true; - # remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play - # dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server - #gamescopeSession.enable = true; - - #package = pkgs.steam.override { - # extraLibraries = p: with p; [ - # gfxreconstruct - # glslang - # spirv-cross - # spirv-headers - # spirv-tools - # vulkan-extension-layer - # vulkan-headers - # vulkan-loader - # vulkan-tools - # vulkan-tools-lunarg - # vulkan-utility-libraries - # vulkan-validation-layers - # vkdisplayinfo - # vkd3d - # vkd3d-proton - # vk-bootstrap - # ]; - # extraPkgs = p: with p; [ - # gfxreconstruct - # glslang - # spirv-cross - # spirv-headers - # spirv-tools - # vulkan-extension-layer - # vulkan-headers - # vulkan-loader - # vulkan-tools - # vulkan-tools-lunarg - # vulkan-utility-libraries - # vulkan-validation-layers - # vkdisplayinfo - # vkd3d - # vkd3d-proton - # vk-bootstrap - # ]; - #}; - }; - programs.gamescope = { - enable = true; - args = [ "--expose-wayland" ]; - }; - programs.gamemode.enable = true; - # Single GPU Passthru Configuration #cspark-single-gpu-passthru.enable = true; #cspark-single-gpu-passthru.vmName = "win11"; diff --git a/configurations/laptop/configuration.nix b/configurations/laptop/configuration.nix index 37f240f2..82621dc4 100644 --- a/configurations/laptop/configuration.nix +++ b/configurations/laptop/configuration.nix @@ -32,7 +32,7 @@ knownHosts = { cspark-desktop-nixremotebuilder = { extraHostNames = [ "cspark-nixos-desktop" "192.168.1.110" ]; - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWWfMZhdSKiUZZU1Pl7Hp6+BKHhWswLNmngLDzzMsGl"; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/A49FhfRM7cI4MykQAtKdcOXgEya2dV9nCHnO2rqHt"; }; }; extraConfig = '' diff --git a/global.nix b/global.nix index 9afa820a..e27f2412 100644 --- a/global.nix +++ b/global.nix @@ -98,6 +98,7 @@ rapidfuzz paramiko packaging + click ]; python-with-my-packages = pkgs.python3.withPackages my-python-packages; in @@ -118,10 +119,10 @@ gcc cmake libtool - swift - swiftPackages.Foundation - swiftpm - sourcekit-lsp + #swift + #swiftPackages.Foundation + #swiftpm + #sourcekit-lsp gradle nodejs typescript @@ -359,6 +360,59 @@ ] ++ stablePackages; + # Steam Game Platform + programs.steam = { + enable = true; + # remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + # dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + #gamescopeSession.enable = true; + + #package = pkgs.steam.override { + # extraLibraries = p: with p; [ + # gfxreconstruct + # glslang + # spirv-cross + # spirv-headers + # spirv-tools + # vulkan-extension-layer + # vulkan-headers + # vulkan-loader + # vulkan-tools + # vulkan-tools-lunarg + # vulkan-utility-libraries + # vulkan-validation-layers + # vkdisplayinfo + # vkd3d + # vkd3d-proton + # vk-bootstrap + # ]; + # extraPkgs = p: with p; [ + # gfxreconstruct + # glslang + # spirv-cross + # spirv-headers + # spirv-tools + # vulkan-extension-layer + # vulkan-headers + # vulkan-loader + # vulkan-tools + # vulkan-tools-lunarg + # vulkan-utility-libraries + # vulkan-validation-layers + # vkdisplayinfo + # vkd3d + # vkd3d-proton + # vk-bootstrap + # ]; + #}; + }; + programs.gamescope = { + enable = true; + args = [ "--expose-wayland" ]; + }; + programs.gamemode.enable = true; + + # Enable ADB Tools for android development programs.adb.enable = true;