logos: enable cuda

Signed-off-by: Xe <me@christine.website>
lufta
Cadey Ratio 2022-08-22 23:49:00 +00:00
parent 584da7e946
commit 72a43e184a
2 changed files with 10 additions and 1 deletions

View File

@ -33,11 +33,12 @@
auto-optimise-store = true;
sandbox = true;
substituters =
[ "https://xe.cachix.org" "https://nix-community.cachix.org" ];
[ "https://xe.cachix.org" "https://nix-community.cachix.org" "https://cuda-maintainers.cachix.org" ];
trusted-users = [ "root" "cadey" ];
trusted-public-keys = [
"xe.cachix.org-1:kT/2G09KzMvQf64WrPBDcNWTKsA79h7+y2Fn2N7Xk2Y="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
};

View File

@ -10,4 +10,12 @@
networking.hostId = "aeace675";
services.nginx.enable = true;
nixpkgs.config.allowUnfree = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
# Optionally, you may need to select the appropriate driver version for your specific GPU.
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
}