Working with lag spikes

This commit is contained in:
Random936 2024-08-26 18:25:45 -07:00
parent 399792a2f4
commit 07628c260b
3 changed files with 16 additions and 2 deletions

View File

@ -30,7 +30,6 @@
nvidiaSettings = true; nvidiaSettings = true;
prime = { prime = {
offload = { offload = {
enable = true; enable = true;
enableOffloadCmd = true; enableOffloadCmd = true;
@ -45,6 +44,13 @@
services.xserver.dpi = 96; services.xserver.dpi = 96;
environment.variables.GDK_SCALE = "0.5"; environment.variables.GDK_SCALE = "0.5";
# Install OpenGL
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
# Ignore laptop lid closing when connected to power. # Ignore laptop lid closing when connected to power.
services.logind.lidSwitchExternalPower = "ignore"; services.logind.lidSwitchExternalPower = "ignore";

6
home/games.nix Normal file
View File

@ -0,0 +1,6 @@
{ config, pkgs, user, ... }: {
home.packages = with pkgs; [
openmw
];
}

View File

@ -9,6 +9,7 @@
./shared.nix ./shared.nix
./hacking.nix ./hacking.nix
./neovim.nix ./neovim.nix
./games.nix
./emacs.nix ./emacs.nix
./zsh.nix ./zsh.nix
]; ];
@ -22,8 +23,9 @@
wireshark wireshark
pavucontrol pavucontrol
google-chrome google-chrome
nextcloud-client
wireguard-tools wireguard-tools
nextcloud-client
nvtopPackages.full
]; ];
services.emacs.enable = true; services.emacs.enable = true;