Skip to content

Feat: Add Nix support#168

Open
tbaumann wants to merge 3 commits intoRightNow-AI:mainfrom
tbaumann:main
Open

Feat: Add Nix support#168
tbaumann wants to merge 3 commits intoRightNow-AI:mainfrom
tbaumann:main

Conversation

@tbaumann
Copy link

@tbaumann tbaumann commented Mar 1, 2026

Adding Nix support. Nixos modules may follow...

Run directly with nix run github:RightNow-AI/openfang

There are a bunch of flake outputs (based on cargo workspace) Focus on these:

  • openfang-cli (default)
  • openfang-desktop

@DaniyalMusadiq1
Copy link

can you explain how it works....

@tbaumann
Copy link
Author

tbaumann commented Mar 2, 2026

can you explain how it works....

It will make it really easy to use openfang on Nixos systems. Literally the nix command above to launch the latest version in main.
Not even any installation necessary. (Most people would probably include the nix packet closure in their system definition though)

The package build will only be the start. I shall, when I have time for it, make a nixosModule so Nixos users can define a deterministic config. (Or maybe also home-manager module)

You are probably not familiar with Nixos. But it's really quite awesome and useful. 😄

Example
flake.nix

inputs.openfang.url = "github:tbaumann/openfang";

in system configuration.nix

# Now just package installation
  environment.systemPackages = with pkgs; [ inputs.openfang.packages.${pkgs.stdenv.hostPlatform.system}.default ];

# In the future once I implemented it, declarative configuration
services.openfang = {
  enable = true;
   settings = {
     network_enabled = false; 
     default_model = {
        provider = "anthropic";
        model = "claude-sonnet-4-20250514";
        api_key_env = "ANTHROPIC_API_KEY";
     };
   };
 };

@DaniyalMusadiq1
Copy link

understood

egargale pushed a commit to egargale/openfang that referenced this pull request Mar 5, 2026
Fixes RightNow-AI#168

AIEOS (AI Entity Object Specification) v1.1 is now fully supported.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tbaumann added 3 commits March 9, 2026 13:26
Adding Nix support. Nixos modules may follow...

Run directly with `nix run github:RightNow-AI/openfang`

There are a bunch of flake outputs (based on cargo workspace)
Focus on these:
* openfang-cli (default)
* openfang-desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants