change to nvidia

This commit is contained in:
Tyler Starr 2024-09-08 13:12:59 -07:00
parent 4c7cd0b250
commit ab01622c67
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,15 @@
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;
# Nvidia options
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
open = true;
powerManagement.enable = true;
nvidiaSettings = true;
};
# Enable docker
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs";

View File

@ -19,6 +19,7 @@ in {
environment.systemPackages = with pkgs; [
steamtinkerlaunch # Launcher and optimization tool for Steam games.
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility.
mangohud
];
};
}