mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
28 lines
555 B
Nix
28 lines
555 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# Support steam hardware like the index and steam controller
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
# Steam program itself
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
gamescopeSession.enable = true;
|
|
};
|
|
|
|
# Valve's micro-compositor
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
|
|
# Open source OpenXR runtime for VR
|
|
services.monado = {
|
|
enable = true;
|
|
defaultRuntime = true;
|
|
highPriority = true;
|
|
};
|
|
|
|
}
|