Add steam

This commit is contained in:
Evie Litherland-Smith 2023-08-28 09:37:15 +01:00
parent 5308385905
commit 5712d80ebe

View file

@ -1,15 +1,11 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ pkgs { pkgs, userConfig, ... }:
, userConfig
, ...
}:
let let
user = "xenia"; user = "xenia";
hostName = "Vanguard"; hostName = "Vanguard";
in in {
{
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
@ -24,12 +20,17 @@ in
hostName = hostName; # Define your hostname. hostName = hostName; # Define your hostname.
nameservers = [ "192.168.1.230" "9.9.9.9" ]; nameservers = [ "192.168.1.230" "9.9.9.9" ];
}; };
environment.systemPackages = with pkgs; [ mesa ];
hardware = { hardware = {
bluetooth.enable = true; bluetooth.enable = true;
opengl.driSupport32Bit = true; opengl.driSupport32Bit = true;
steam-hardware.enable = true; steam-hardware.enable = true;
}; };
environment.systemPackages = with pkgs; [ mesa ]; programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
users.users.${user} = userConfig; users.users.${user} = userConfig;
services.greetd = { services.greetd = {