TV/player.nix
2026-02-10 20:57:45 -05:00

48 lines
1.4 KiB
Nix

{ 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
};
}