This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; | |
ruby-nix.url = "github:inscapist/ruby-nix"; | |
bundix = { | |
url = "github:inscapist/bundix/main"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
fu.url = "github:numtide/flake-utils"; | |
bob-ruby.url = "github:bobvanderlinden/nixpkgs-ruby"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require 'openai' | |
require 'fileutils' | |
require 'haml' | |
# Initialize OpenAI client | |
openai_client = OpenAI::Client.new(access_token: ENV.fetch('OPENAI_ACCESS_TOKEN'), log_errors: true) | |
# Root directory containing Slim templates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ nix run nixpkgs#ollama -- run deepseek-r1:1.5b | |
pulling manifest | |
pulling aabd4debf0c8... 100% ▕█████████████████████████▏ 1.1 GB | |
pulling 369ca498f347... 100% ▕█████████████████████████▏ 387 B | |
pulling 6e4c38e1172f... 100% ▕█████████████████████████▏ 1.1 KB | |
pulling f4d24e9138dd... 100% ▕█████████████████████████▏ 148 B | |
pulling a85fe2a2e58e... 100% ▕█████████████████████████▏ 487 B | |
verifying sha256 digest | |
writing manifest | |
success |
OlderNewer