summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/local/master/configuration.nix5
-rw-r--r--hosts/local/nvidia.nix2
-rw-r--r--hosts/unfree.nix6
3 files changed, 10 insertions, 3 deletions
diff --git a/hosts/local/master/configuration.nix b/hosts/local/master/configuration.nix
index c137835..a0f8475 100644
--- a/hosts/local/master/configuration.nix
+++ b/hosts/local/master/configuration.nix
@@ -8,8 +8,9 @@
../../linux.nix
../../unfree.nix
#../../android.nix
- # ../i3.nix
- ../gnome.nix
+ ../i3.nix
+ # ../gnome.nix
+ # ../wayland.nix
../nvidia.nix
./keyboard.nix
];
diff --git a/hosts/local/nvidia.nix b/hosts/local/nvidia.nix
index 84958a5..08e5d2b 100644
--- a/hosts/local/nvidia.nix
+++ b/hosts/local/nvidia.nix
@@ -2,7 +2,7 @@
boot.kernelModules = ["nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm"];
# boot.kernelPackages = lib.mkForce unfreePkgs.linuxKernel.packages.linux_xanmod_latest;
boot.kernelParams = ["video=HDMI-A-1:1920x1080"];
- hardware.opengl = {
+ hardware.graphics= {
# package = (pkgs.mesa.override { galliumDrivers = [ "i915" "swrast" ]; }).drivers;
enable = true;
};
diff --git a/hosts/unfree.nix b/hosts/unfree.nix
index 79fecb1..5741323 100644
--- a/hosts/unfree.nix
+++ b/hosts/unfree.nix
@@ -12,13 +12,19 @@
# fonts
corefonts
# symbola
+ steamPackages.steamcmd
+ steam-run
+ protonup-qt
];
# fucking vscode requires this for github copilot
services.gnome.gnome-keyring.enable = true;
programs.steam = {
enable = true;
+ extraCompatPackages = [pkgs.proton-ge-bin];
+ protontricks.enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
+ systemd.extraConfig = "DefaultlimitNOFILE=524288";
}