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