commit f733d278f9dbc42230e40417a83a2d6637db0a16 Author: mbooser Date: Tue Feb 10 20:57:45 2026 -0500 Add player.nix diff --git a/player.nix b/player.nix new file mode 100644 index 0000000..3735574 --- /dev/null +++ b/player.nix @@ -0,0 +1,47 @@ +{ config, pkgs, ... }: + +{ + # Gaming and streaming applications + environment.systemPackages = with pkgs; [ + vlc # VLC media player + dolphin-emu # Dolphin GameCube/Wii emulator + obs-studio # OBS Studio for streaming/recording + git # Git version control + ]; + + # Steam configuration + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports for Source Dedicated Server + localNetworkGameTransfers.openFirewall = true; # Open ports for local network game transfers + }; + + # Enable GameMode for better gaming performance (optional but recommended) + programs.gamemode.enable = true; + + # Bluetooth support for controllers (Wii remotes, etc.) + hardware.bluetooth = { + enable = true; + powerOnBoot = true; # Automatically enable Bluetooth on boot + }; + + # Blueman for Bluetooth management GUI + services.blueman.enable = true; + + # SSH service + services.openssh = { + enable = true; + settings = { + PasswordAuthentication = true; # Set to false if using key-only auth + PermitRootLogin = "no"; # Disable root login for security + }; + }; + + # Hardware acceleration for video playback and encoding + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; # Required for 32-bit games on Steam + }; +}