Steam login option

This commit is contained in:
Zuckerberg 2023-09-03 21:56:37 -06:00
parent 890b24200e
commit f93b2c6908
3 changed files with 19 additions and 9 deletions

View File

@ -75,7 +75,7 @@
name = "nixpkgs-patched"; name = "nixpkgs-patched";
src = nixpkgs; src = nixpkgs;
patches = [ patches = [
# no patches to nixpkgs at this time ./patches/gamepadui.patch
]; ];
}; };
patchedNixpkgs = nixpkgs.lib.fix (self: (import "${patchedNixpkgsSrc}/flake.nix").outputs { self = nixpkgs; }); patchedNixpkgs = nixpkgs.lib.fix (self: (import "${patchedNixpkgsSrc}/flake.nix").outputs { self = nixpkgs; });

View File

@ -5,16 +5,13 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
# services.spotifyd.enable = true;
# wireless xbox controller support
hardware.xpadneo.enable = true;
services.mount-samba.enable = true;
de.enable = true; de.enable = true;
# kodi # Login DE Option: Steam
programs.steam.gamescopeSession.enable = true;
# programs.gamescope.capSysNice = true;
# Login DE Option: Kodi
services.xserver.desktopManager.kodi.enable = true; services.xserver.desktopManager.kodi.enable = true;
services.xserver.desktopManager.kodi.package = services.xserver.desktopManager.kodi.package =
( (

13
patches/gamepadui.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/nixos/modules/programs/steam.nix b/nixos/modules/programs/steam.nix
index 29c449c16946..f6c728eb7f0c 100644
--- a/nixos/modules/programs/steam.nix
+++ b/nixos/modules/programs/steam.nix
@@ -11,7 +11,7 @@ let
in
pkgs.writeShellScriptBin "steam-gamescope" ''
${builtins.concatStringsSep "\n" exports}
- gamescope --steam ${toString cfg.gamescopeSession.args} -- steam -tenfoot -pipewire-dmabuf
+ gamescope --steam ${toString cfg.gamescopeSession.args} -- steam -gamepadui -steamdeck -pipewire-dmabuf &> /tmp/steamlog
'';
gamescopeSessionFile =