From 960ac317023b3ca93a590eee6a7fb061f42ae806 Mon Sep 17 00:00:00 2001 From: kenji Date: Thu, 17 Jul 2025 21:37:19 -0500 Subject: [PATCH] steam is no longer big picture --- config.nix | 1 + packages/hyprland/config/execs.nix | 2 +- packages/hyprland/config/rules.nix | 2 +- packages/hyprland/default.nix | 3 ++- packages/steam/launch.nix | 4 +++- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config.nix b/config.nix index 40cc267..f8cccec 100644 --- a/config.nix +++ b/config.nix @@ -39,6 +39,7 @@ ]; }; Hyprland = { + enable = false; monitors = [ "DP-1, highres@165,0x1080,1,vrr,1" "DP-2, highres@highrr,0x0,1" diff --git a/packages/hyprland/config/execs.nix b/packages/hyprland/config/execs.nix index 5e33252..d99d4eb 100644 --- a/packages/hyprland/config/execs.nix +++ b/packages/hyprland/config/execs.nix @@ -7,7 +7,7 @@ wayland.windowManager.hyprland.settings = { exec-once = [ # "[workspace special:communication silent] discord" - "[workspace special:steam silent] steam -start steam://open/bigpicture" + "[workspace special:steam silent] steam" "[workspace special:preload silent] kitty --single-instance --hold fastfetch" "[workspace special:preload silent] firefox" "[workspace 1] kitty --single-instance --hold -e fish -C fastfetch" diff --git a/packages/hyprland/config/rules.nix b/packages/hyprland/config/rules.nix index b3ca22d..037d8d5 100644 --- a/packages/hyprland/config/rules.nix +++ b/packages/hyprland/config/rules.nix @@ -51,7 +51,7 @@ # Always full screen # "fullscreen, title:^(Steam Big Picture Mode)$" - "fullscreen, title:^(steam_app_.*)$" + # "fullscreen, title:^(steam_app_.*)$" # Dialogs "float, title:(Select|Open)( a)? (File|Folder)(s)?" diff --git a/packages/hyprland/default.nix b/packages/hyprland/default.nix index 8ab8c5e..3af293f 100644 --- a/packages/hyprland/default.nix +++ b/packages/hyprland/default.nix @@ -1,10 +1,11 @@ { pkgs, inputs, + myConfig, ... }: { programs.hyprland = { - enable = true; + enable = myConfig.nixos.Hyprland.enable; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; diff --git a/packages/steam/launch.nix b/packages/steam/launch.nix index 124d822..5255f8e 100644 --- a/packages/steam/launch.nix +++ b/packages/steam/launch.nix @@ -5,7 +5,9 @@ capSysNice = true; }; 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 + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers enable = true; gamescopeSession.enable = true; }; };