From f81f0651484bffad03367504c7baa629983d99cf Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Wed, 26 Jun 2024 10:43:53 +0200 Subject: [PATCH] ollama pt 1 --- common/base.nix | 29 ++++++++++++++++++++++++---- home/tasia-but-old-username/home.nix | 1 - home/tasia/home.nix | 1 - hosts/yaseen/configuration.nix | 4 ++++ 4 files changed, 29 insertions(+), 6 deletions(-) diff --git a/common/base.nix b/common/base.nix index 2417d43..87dbee2 100644 --- a/common/base.nix +++ b/common/base.nix @@ -59,19 +59,40 @@ # Unfree packages that can be installes regardless of the machine's free software policy config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - # Steam "steam" "steam-original" "steam-run" - # Nvidia drivers "nvidia-x11" "nvidia-settings" - # osu! "osu-lazer-bin" - + "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" ]; }; diff --git a/home/tasia-but-old-username/home.nix b/home/tasia-but-old-username/home.nix index 6d0d901..acaa02d 100644 --- a/home/tasia-but-old-username/home.nix +++ b/home/tasia-but-old-username/home.nix @@ -54,7 +54,6 @@ tor-browser protonvpn-gui # radicle-cli - # opensnitch-ui yarn nodePackages.node-gyp nodePackages.node-pre-gyp diff --git a/home/tasia/home.nix b/home/tasia/home.nix index cad6cf4..5039abf 100644 --- a/home/tasia/home.nix +++ b/home/tasia/home.nix @@ -100,7 +100,6 @@ # android-studio # swig # radicle-cli - # opensnitch-ui # hurl https://github.com/Orange-OpenSource/hurl # revolt-desktop ]; diff --git a/hosts/yaseen/configuration.nix b/hosts/yaseen/configuration.nix index f3e18af..ae1e17a 100644 --- a/hosts/yaseen/configuration.nix +++ b/hosts/yaseen/configuration.nix @@ -151,6 +151,10 @@ in { ]; }; + services.ollama = { + enable = true; + # acceleration = "cuda"; + }; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.11";