logos: enable cuda
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
584da7e946
commit
72a43e184a
|
@ -33,11 +33,12 @@
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
sandbox = true;
|
sandbox = true;
|
||||||
substituters =
|
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-users = [ "root" "cadey" ];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"xe.cachix.org-1:kT/2G09KzMvQf64WrPBDcNWTKsA79h7+y2Fn2N7Xk2Y="
|
"xe.cachix.org-1:kT/2G09KzMvQf64WrPBDcNWTKsA79h7+y2Fn2N7Xk2Y="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,4 +10,12 @@
|
||||||
networking.hostId = "aeace675";
|
networking.hostId = "aeace675";
|
||||||
|
|
||||||
services.nginx.enable = true;
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue