Skip to content

A linux based gaming console based on NixOS + Steam Big Picture

License

Notifications You must be signed in to change notification settings

DavHau/nixos-steam-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features:

  1. Autologin and autorun Steam Big Picture on boot
  2. Open Ports for Steam Stream
  3. SSH access via your ssh key to modify the system (via NixOps)
  4. KDE Desktop as fallback in case interaction with the desktop is needed
  5. Includes fix for Xbox wireless controller via bluetooth

Setup

On the gaming box:

  1. Manually install a basic NixOS on the gaming box by following the instructions on https://nixos.org/nixos/manual/index.html#sec-obtaining
  2. To enable yourself to manage the machine via NixOps, configure ssh access to root for your ssh key.
  3. Find and note down the local network's IP addess of your gaming box

Deploy via NixOps

  1. Adapt the configuration.nix from this projects for your needs:
    • Check if services.xserver.videoDrivers contains the correct video driver for your GPU.
    • Put your ssh key in root.openssh.authorizedKeys.keys. Otherwise you might lock yourself out.
  2. Edit nixops.nix to contain your steam box' IP address under deployment.targetHost
  3. Copy the hardware-configuration.nix from the gaming rig:
    scp root@steambox_ip:/etc/nixos/hardware-configuration.nix ./
    
  4. If the nix package manager is not yet installed on your system, execute as non-root user:
    curl -L https://nixos.org/nix/install | sh
    
  5. Enter the nix shell by executing from the root directory of this project:
    nix-shell
    
  6. Register the deployment defined in nixops.nix:
      nixops create ./nixops.nix -d steambox
    
  7. Execute the deployment:
      nixops deploy -d steambox
    

Redo only the last step in case you change anything within the config

About

A linux based gaming console based on NixOS + Steam Big Picture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages