87f839d16a
- Added `hermes` module to integrate the Hermes agent into the flake. - Introduced new `ai.nix` module for Ollama service configuration, enabling AI capabilities. - Updated `flake.lock` to include new dependencies and revisions for `hermes`, `npm-lockfile-fix`, and other related packages. - Refactored existing flake structure to improve organization and maintainability. - Enabled `nix-ld` in the host configuration for enhanced linking capabilities.
11 lines
330 B
Nix
11 lines
330 B
Nix
{config, inputs, pkgs, ...}: {
|
|
imports = [
|
|
inputs.hermes.nixosModules.default
|
|
];
|
|
services.ollama = {
|
|
enable = true;
|
|
# Replace the old acceleration line with this:
|
|
package = pkgs.ollama-cuda;
|
|
};
|
|
chiasson.users.extraModules.olivier = [{chiasson.home.extraPackages = with pkgs; [ zed-editor windsurf];}];
|
|
} |