Try pre-commit and formatting with alejandra
Some checks are pending
/ Build Nix targets (push) Waiting to run

This commit is contained in:
Théo Barnouin 2025-06-05 10:41:53 +02:00
parent 0eb6154c32
commit 32b60f1ff9
16 changed files with 325 additions and 248 deletions

View file

@ -16,11 +16,11 @@ in {
];
};
# Nvidia Hardware Acceleration config
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.videoDrivers = ["nvidia"];
hardware = {
graphics = {
enable = true;
extraPackages = with pkgs; [ cudaPackages.cudatoolkit ];
extraPackages = with pkgs; [cudaPackages.cudatoolkit];
};
nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;
@ -32,7 +32,7 @@ in {
# of just the bare essentials.
powerManagement.enable = false;
powerManagement.finegrained = false;
# Use the NVidia open source kernel module
# Recommended by Nvidia for 20+ series GPU
open = true;