Skip to content

imincik/nix-forge

Repository files navigation

Nix Forge

WARNING: this sofware is currently in alpha state of development.

Nix Forge is lowering the barrier and learning curve required for packaging, distributing and software deployment with Nix, enforcing best practices and unlocking the superpowers of Nix to the ordinary humans.

Features

Conceptual diagram

graph TB
    subgraph Sources["Sources"]
        SW1[Git Repository]
        SW2[Tarball URL]
        SW3[Local Path]
        NIXPKGS(Nixpkgs)
    end

    PKG[Package Recipe<br/>recipe.nix]

    subgraph PackageOutputs["Packages"]
        PO4[Nix Package]
        PO1[Development Environment]
        PO2[Shell Environment]
        PO3[Container Image]
    end

    APP[Application Recipe<br/>recipe.nix]

    subgraph AppOutputs["Applications"]
        AO1[Shell Environment<br/>for CLI and GUI components]
        AO2[Container Images<br/>for Multi-component services]
        AO3[NixOS VM<br/>for Multi-component services]
    end

    NFR[Nix Forge Registry]

    subgraph Deployment["Deployment"]
        SHELL[Shell Environment<br/>for CLI and GUI components]
        K8S[Kubernetes Cluster<br/>for Multi-component services]
        NIXOS[NixOS System<br/>for Multi-component services]
    end

    SW1 & SW2 & SW3 & NIXPKGS--> PKG
    PKG --> PO1 & PO2 & PO3 & PO4

    PO4 & NIXPKGS --> APP
    APP --> AO1
    APP --> AO2
    APP --> AO3

    PO3 --> NFR
    AO2 --> NFR

    AO1 --> SHELL
    AO3 --> NIXOS
    NFR --> K8S
Loading

Self hosting

  • Initiate new Nix Forge instance from template
nix flake init --template github:imincik/nix-forge#example
  • Set repositoryUrl attribute in flake.nix to your repository

  • Add all new files to git

  • Start creating recipes in recipes directory

LLM agents

LLM agents, read these instructions first.

Commercial support

Considering Nix/NixOS or already using it and need expert help? Get in touch with me.

About

Simplified Nix packaging with maximum added value.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •