Some checks failed
Nix Flake Check / Check Formatting (push) Waiting to run
Nix Flake Check / Check Dead Code (push) Waiting to run
Nix Flake Check / Check Flake (push) Waiting to run
Build packages and push to cache / build (caddy-with-cloudflare) (push) Has been cancelled
Build packages and push to cache / build (fpp-config) (push) Has been cancelled
Build packages and push to cache / build (fpp-launcher) (push) Has been cancelled
Build packages and push to cache / build (fpp-sd) (push) Has been cancelled
Build packages and push to cache / build (live-buds-cli) (push) Has been cancelled
Build packages and push to cache / build (ook-vim) (push) Has been cancelled
Build packages and push to cache / build (project-plus) (push) Has been cancelled
Build packages and push to cache / build (repomix) (push) Has been cancelled
Build packages and push to cache / build (spotify-player) (push) Has been cancelled
Build packages and push to cache / build (website) (push) Has been cancelled
Build packages and push to cache / build (wii-u-gc-adapter) (push) Has been cancelled
21 lines
407 B
Nix
21 lines
407 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
cfg = config.ooknet.workstation.programs.ollama;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
# FIXME:
|
|
# https://github.com/NixOS/nixpkgs/issues/376930
|
|
services.ollama = {
|
|
enable = false;
|
|
acceleration = "rocm";
|
|
rocmOverrideGfx = "10.1.0";
|
|
environmentVariables = {
|
|
HCC_AMDGPU_TARGET = "gfx1010";
|
|
};
|
|
};
|
|
};
|
|
}
|