ollama pt 1

This commit is contained in:
Tasia Iso 2024-06-26 10:43:53 +02:00
parent 8f8810c732
commit f81f065148
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
4 changed files with 29 additions and 6 deletions

View file

@ -59,19 +59,40 @@
# Unfree packages that can be installes regardless of the machine's free software policy # Unfree packages that can be installes regardless of the machine's free software policy
config.allowUnfreePredicate = pkg: config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
# Steam
"steam" "steam"
"steam-original" "steam-original"
"steam-run" "steam-run"
# Nvidia drivers
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
# osu!
"osu-lazer-bin" "osu-lazer-bin"
"android-studio-stable" "android-studio-stable"
# TODO
# "cuda-merged"
# "cuda_cuobjdump"
# "cuda_gdb"
# "cuda_nvcc"
# "cuda_nvdisasm"
# "cuda_nvprune"
# "cuda_cccl"
# "cuda_cudart"
# "cuda_cupti"
# "cuda_cuxxfilt"
# "cuda_nvml_dev"
# "cuda_nvrtc"
# "cuda_nvtx"
# "cuda_profiler_api"
# "cuda_sanitizer_api"
# "libcublas"
# "libcufft"
# "libcurand"
# "libcusolver"
# "libnvjitlink"
# "libcusparse"
# "libnpp"
]; ];
}; };

View file

@ -54,7 +54,6 @@
tor-browser tor-browser
protonvpn-gui protonvpn-gui
# radicle-cli # radicle-cli
# opensnitch-ui
yarn yarn
nodePackages.node-gyp nodePackages.node-gyp
nodePackages.node-pre-gyp nodePackages.node-pre-gyp

View file

@ -100,7 +100,6 @@
# android-studio # android-studio
# swig # swig
# radicle-cli # radicle-cli
# opensnitch-ui
# hurl https://github.com/Orange-OpenSource/hurl # hurl https://github.com/Orange-OpenSource/hurl
# revolt-desktop # revolt-desktop
]; ];

View file

@ -151,6 +151,10 @@ in {
]; ];
}; };
services.ollama = {
enable = true;
# acceleration = "cuda";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11"; system.stateVersion = "23.11";