From 2758120aaa96f04844ede084a72baab4e64ecadd Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 18 Sep 2022 14:34:41 -0700 Subject: [PATCH] Added steam --- apply-system.sh | 2 +- system/gospel/configuration.nix | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/apply-system.sh b/apply-system.sh index 0642ddb..e79f1ad 100755 --- a/apply-system.sh +++ b/apply-system.sh @@ -1,4 +1,4 @@ #!/bin/sh -pushd ~/nix-config +pushd ~/dotfiles sudo nixos-rebuild switch --flake .# popd diff --git a/system/gospel/configuration.nix b/system/gospel/configuration.nix index f7bebde..9ea4253 100644 --- a/system/gospel/configuration.nix +++ b/system/gospel/configuration.nix @@ -10,7 +10,13 @@ ./hardware-configuration.nix ./zfs.nix ./vpn.nix ]; - hardware.opengl.enable = true; + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + }; + + nixpkgs.config.allowUnfree = true; # Make ready for nix flakes nix.package = pkgs.nixFlakes; @@ -70,6 +76,12 @@ extraPackages = with pkgs; [ swaylock ]; }; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + }; + fonts.fonts = with pkgs; [ (nerdfonts.override {fonts = ["Hack"];}) ]; @@ -83,6 +95,7 @@ killall usbutils pavucontrol + cachix ]; # Some programs need SUID wrappers, can be configured further or are