add gamescope for steam
This commit is contained in:
parent
7b599a1d50
commit
a3ed17ede2
1 changed files with 9 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ lib, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.youthlic.programs.steam;
|
cfg = config.youthlic.programs.steam;
|
||||||
in
|
in
|
||||||
|
|
@ -10,6 +15,9 @@ in
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
hardware.graphics.enable32Bit = true;
|
hardware.graphics.enable32Bit = true;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gamescope
|
||||||
|
];
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue