Steam login option
This commit is contained in:
parent
890b24200e
commit
f93b2c6908
@ -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; });
|
||||||
|
@ -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
13
patches/gamepadui.patch
Normal 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 =
|
Loading…
x
Reference in New Issue
Block a user