mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
refactor ai stuff
This commit is contained in:
12
modules/apps/sys/ai.nix
Normal file
12
modules/apps/sys/ai.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.apps-sys-ai = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
opencode
|
||||
];
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = pkgs.ollama-rocm;
|
||||
loadModels = [ "gpt-oss:20b" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user