summary refs log tree commit diff
path: root/nixos/modules/programs/steam.nix
diff options
context:
space:
mode:
authorTimothy DeHerrera <tim@nrdxp.dev>2023-04-27 11:59:25 -0600
committerTimothy DeHerrera <tim@nrdxp.dev>2023-04-27 11:59:25 -0600
commitb866d85d5cd2d3f518a00a154513f520180cc3d5 (patch)
treebc763ea09a3e762ec789d7047e5bdfa3e70e1c6e /nixos/modules/programs/steam.nix
parentca0c89900851906da9029019e2badde583c853ac (diff)
downloadnixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar.gz
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar.bz2
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar.lz
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar.xz
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.tar.zst
nixpkgs-b866d85d5cd2d3f518a00a154513f520180cc3d5.zip
nixos(steam): install steam-gamescope
Allows to launch from a tty, in addition to display-manager.
Diffstat (limited to 'nixos/modules/programs/steam.nix')
-rw-r--r--nixos/modules/programs/steam.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/steam.nix b/nixos/modules/programs/steam.nix
index 78001116764..c63b31bde11 100644
--- a/nixos/modules/programs/steam.nix
+++ b/nixos/modules/programs/steam.nix
@@ -136,7 +136,7 @@ in {
     environment.systemPackages = [
       cfg.package
       cfg.package.run
-    ];
+    ] ++ lib.optional cfg.gamescopeSession.enable steam-gamescope;
 
     networking.firewall = lib.mkMerge [
       (mkIf cfg.remotePlay.openFirewall {