add cuda support for appimage

This commit is contained in:
illustris 2025-12-03 21:47:33 +05:30
parent 09e6f82ba3
commit aa8873d9c9
Signed by: illustris
GPG Key ID: 56C8FC0B899FEFA3

View File

@ -79,6 +79,8 @@
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
extra-trusted-public-keys = [ "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=" ];
extra-trusted-substituters = [ "https://cache.flox.dev" ];
trusted-users = [ "root" "illustris" ];
};
};
@ -108,7 +110,10 @@
"cuda_cudart"
"cuda_cupti"
"cuda_cuxxfilt"
"cudnn"
"displaylink"
"libcufile"
"libcusparse_lt"
"nvidia-persistenced" "nvidia-settings" "nvidia-x11"
"steam" "steam-original" "steam-run" "steam-unwrapped"
"zerotierone"
@ -118,7 +123,19 @@
programs = {
adb.enable = true;
appimage.enable = true;
appimage = {
enable = true;
binfmt = true;
package = pkgs.appimage-run.override {
extraPkgs = pkgs: [
pkgs.icu
pkgs.libxcrypt-legacy
pkgs.python3
pkgs.python3Packages.torch
];
};
};
bash = {
interactiveShellInit = ''
export HISTSIZE=-1 HISTFILESIZE=-1 HISTCONTROL=ignoreboth:erasedups