From 3f74fb61e45bfd15c5b8cf9fec7166f9f22c41d8 Mon Sep 17 00:00:00 2001 From: Toast Date: Sat, 23 Sep 2023 12:01:48 +0200 Subject: [PATCH 1/3] SteamDeck: remove leftover comment --- machines/SteamDeck/configuration.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/machines/SteamDeck/configuration.nix b/machines/SteamDeck/configuration.nix index e3d28e1..f0f61b8 100755 --- a/machines/SteamDeck/configuration.nix +++ b/machines/SteamDeck/configuration.nix @@ -19,8 +19,6 @@ }; boot.loader.efi.canTouchEfiVariables = true; - #boot.kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest; - networking.hostName = "SteamDeck"; # Define your hostname. networking.networkmanager.enable = true; # Enable networking From bd5cba2c725ffaa937eecf9e333ae5e55895c9e1 Mon Sep 17 00:00:00 2001 From: Toast Date: Sat, 23 Sep 2023 12:10:21 +0200 Subject: [PATCH 2/3] SteamDeck: install firmware upgraders --- machines/SteamDeck/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/SteamDeck/configuration.nix b/machines/SteamDeck/configuration.nix index f0f61b8..74f5487 100755 --- a/machines/SteamDeck/configuration.nix +++ b/machines/SteamDeck/configuration.nix @@ -80,6 +80,7 @@ ]; }; + environment.systemPackages = [ pkgs.steamdeck-firmware ]; # List packages installed in system profile. To search, run: # $ nix search wget # environment.systemPackages = with pkgs; [ From 2e666b18ee15de180c0bbbb91b22ae06b9ce3734 Mon Sep 17 00:00:00 2001 From: Toast Date: Sat, 23 Sep 2023 12:12:36 +0200 Subject: [PATCH 3/3] Steamdeck: disable mangohud in game mode --- machines/SteamDeck/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machines/SteamDeck/configuration.nix b/machines/SteamDeck/configuration.nix index 74f5487..db30aa7 100755 --- a/machines/SteamDeck/configuration.nix +++ b/machines/SteamDeck/configuration.nix @@ -50,6 +50,14 @@ autoStart = true; user = "toast"; desktopSession = "plasmawayland"; + environment = { + /* + Steam already has a mangohud overlay, so this + avoids having two overlays at once + */ + MANGOHUD = "0"; + MANHOGUD_DLSYM = "0"; + }; }; decky-loader = { enable = true;