# Garnix Blog

Garnix Blog

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## garnix is joining Shopify

DevFeed: [garnix is joining Shopify](<https://devfeed.tech/articles/garnix-is-joining-shopify-32419.md>)

Original publisher: [Read original article](<https://garnix.io/blog/shutting-down>)

Author: May ; Sönke Hahn; Julian K Arni

Published: 2026-05-28T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Shopify](<https://devfeed.tech/topics/shopify.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [alex](<https://devfeed.tech/tags/alex.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [community](<https://devfeed.tech/tags/community.md>), [data](<https://devfeed.tech/tags/data.md>), [download](<https://devfeed.tech/tags/download.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [nix](<https://devfeed.tech/tags/nix.md>), [open](<https://devfeed.tech/tags/open.md>), [project](<https://devfeed.tech/tags/project.md>), [public](<https://devfeed.tech/tags/public.md>), [service](<https://devfeed.tech/tags/service.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

garnix is joining Shopify, and its hosted service will shut down on July 15, 2026. The team is open-sourcing the codebase so users can move to their own or a shared instance; people interested in operating a public community instance are invited to contact the team. All user data, including build artifacts, will be deleted on the shutdown date, so users should download anything they want to keep beforehand.

### Source excerpt

We are open-sourcing garnix and shutting down the service.

## Forwardly-evaluated build systems

DevFeed: [Forwardly-evaluated build systems](<https://devfeed.tech/articles/forwardly-evaluated-build-systems-32409.md>)

Original publisher: [Read original article](<https://garnix.io/blog/garn2>)

Author: Feb

Published: 2026-02-12T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [build times](<https://devfeed.tech/topics/build-times.md>), [NixOS](<https://devfeed.tech/topics/nixos.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2022](<https://devfeed.tech/tags/2022.md>), [about](<https://devfeed.tech/tags/about.md>), [added](<https://devfeed.tech/tags/added.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [approach](<https://devfeed.tech/tags/approach.md>), [area](<https://devfeed.tech/tags/area.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [based](<https://devfeed.tech/tags/based.md>), [build](<https://devfeed.tech/tags/build.md>), [can](<https://devfeed.tech/tags/can.md>), [faster](<https://devfeed.tech/tags/faster.md>), [make](<https://devfeed.tech/tags/make.md>), [systems](<https://devfeed.tech/tags/systems.md>), [used](<https://devfeed.tech/tags/used.md>)

### AI overview

The article describes how garn speeds build evaluation by running a restricted, deterministic TypeScript frontend and caching results against the specific files and imports an evaluation actually reads. Unlike Nix flakes' evaluation cache, which the article says is invalidated by any repository change, garn can retain a result when unrelated files change; in the cited flatbuffers repository, its cache remained valid for 97% of commits. The article reports garn evaluation at about 2% of uncached default.nix time and 7% of cached flake.nix time when nothing changes. For expensive shared computations, garn adds a memoize function in a separate file, tracking reads and arguments and using web workers; this improves incremental reuse, though it is slower than a full cache hit. The author sketches further caching through partial evaluation but says it is unimplemented. Garn is described as experimental and not production ready.

### Source excerpt

Some of the many caches that can be used to make build systems evaluate faster.

## Hardware-Attested Nix Builds

DevFeed: [Hardware-Attested Nix Builds](<https://devfeed.tech/articles/hardware-attested-nix-builds-32399.md>)

Original publisher: [Read original article](<https://garnix.io/blog/attested-nix-builds>)

Author: Dec

Published: 2025-12-17T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [builds](<https://devfeed.tech/topics/builds.md>), [software artifact signing](<https://devfeed.tech/topics/software-artifact-signing.md>), [Confidential Computing](<https://devfeed.tech/topics/confidential-computing.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [trust](<https://devfeed.tech/topics/trust.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>)

Tags: [artifacts](<https://devfeed.tech/tags/artifacts.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [attestation](<https://devfeed.tech/tags/attestation.md>), [builds](<https://devfeed.tech/tags/builds.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [nix](<https://devfeed.tech/tags/nix.md>)

### AI overview

Hardware attestation can strengthen confidence that a Nix artifact was built from its declared inputs by limiting what can influence the build. The authors first tried attesting a remote builder VM, but describe a stronger design that replaces each Nix build sandbox with a minimal, hardware-attested VM. It attests the input derivation, dependency Merkle-tree hash, output hash, and VM boot measurements; users verify dependency reports themselves so they can apply their own trust policies. This still depends on trusting the hardware and its manufacturing and key management. Hardware attacks exist and can enable forged measurements with physical access, so the authors recommend accepting signatures only from machines controlled by trusted entities. Independent rebuilds across providers and both AMD and Intel can add confidence. Per-build VMs are slower, more expensive, and take time to start; the setup needs case-specific work, so broad availability is not expected soon.

### Source excerpt

More confidence in the integrity of your Nix artifacts.

## garnix actions

DevFeed: [garnix actions](<https://devfeed.tech/articles/garnix-actions-32395.md>)

Original publisher: [Read original article](<https://garnix.io/blog/actions>)

Author: Nov

Published: 2025-11-25T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [NixOS](<https://devfeed.tech/topics/nixos.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [nix](<https://devfeed.tech/tags/nix.md>), [running](<https://devfeed.tech/tags/running.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>)

### AI overview

garnix actions run arbitrary Nix flake apps for side effects while keeping builds and tests pure. Apps run in a micro VM by default, with startup under a second for small closures; configure a push trigger in garnix.yaml, the only trigger currently supported, and opt into repository contents when needed. Compared with GitHub Actions, the article highlights local execution, minimal wrapping, command-line composition, less vendor lock-in, and Nix build caching. Limitations include no built-in pipeline visualization or per-step secret and permission controls; restricting access within an action requires extra setup. An enterprise runner can share resources such as a Docker daemon or Nix daemon. The excerpt presents actions as a way to move workflows toward Nix incrementally.

### Source excerpt

Running Nix apps outside a sandbox

## Fix your FODs

DevFeed: [Fix your FODs](<https://devfeed.tech/articles/fix-your-fods-32404.md>)

Original publisher: [Read original article](<https://garnix.io/blog/fix-your-fods>)

Author: Oct ; Sönke Hahn; Julian K Arni

Published: 2025-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [nix](<https://devfeed.tech/tags/nix.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>)

### AI overview

Nix fixed-output derivations (FODs) can reuse a cached output based on its declared hash even when the URL differs, allowing malicious or outdated content to pass unnoticed if reviewers do not verify hashes. The article describes garnix's CI fodCheck, enabled with `fodChecks: true` on paid plans; it uses a global database of verified FOD mappings and can be faster, though checking consumes network, disk, and upstream rate limits. For other users, it recommends running fod-oracle, especially after external contributions or dependency changes, while noting that uncached checks can take dozens of minutes and intermittent failures are hard to retry selectively. To investigate failures, the article suggests tracing a hash through Nixpkgs history to identify its original source or inspecting cached contents. Longer-term proposals include recording input-output hash pairs in Nix and caches, or hashing FODs by source.

### Source excerpt

A supply-chain attack on Nix, and our approach to solving it.

## Open-sourcing yensid

DevFeed: [Open-sourcing yensid](<https://devfeed.tech/articles/open-sourcing-yensid-32424.md>)

Original publisher: [Read original article](<https://garnix.io/blog/yensid>)

Author: Oct ; Julian K Arni

Published: 2025-10-29T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [NixOS](<https://devfeed.tech/topics/nixos.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [affinity](<https://devfeed.tech/tags/affinity.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [balancing](<https://devfeed.tech/tags/balancing.md>), [build](<https://devfeed.tech/tags/build.md>), [builder](<https://devfeed.tech/tags/builder.md>), [building](<https://devfeed.tech/tags/building.md>), [builds](<https://devfeed.tech/tags/builds.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [ca](<https://devfeed.tech/tags/ca.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [client](<https://devfeed.tech/tags/client.md>), [clients](<https://devfeed.tech/tags/clients.md>), [code](<https://devfeed.tech/tags/code.md>), [config](<https://devfeed.tech/tags/config.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [custom](<https://devfeed.tech/tags/custom.md>), [nix](<https://devfeed.tech/tags/nix.md>), [remote](<https://devfeed.tech/tags/remote.md>)

### AI overview

yensid addresses Nix remote-building limits with an SSH proxy that routes clients to builders and SSH certificates signed by a CA, so clients trust the CA rather than maintaining each builder's key. The proxy can use least-connections or custom load balancing; the article also describes routing by client IP for simple affinity and using HAProxy Lua to add or remove builders for autoscaling. NixOS modules and a VM script support deployment and local testing, and garnix can deploy the proxy and CA. For usage metrics, per-user SSH configuration can set NIX_CONFIG so builds can be attributed through a post-build hook; a more detailed Nix patch is described as nearly ready, not yet available. The authors say this approach requires no Nix changes and is incrementally implementable.

### Source excerpt

Solving the issues with remote building in Nix

## Benchmarking Nix CIs

DevFeed: [Benchmarking Nix CIs](<https://devfeed.tech/articles/benchmarking-nix-cis-32400.md>)

Original publisher: [Read original article](<https://garnix.io/blog/benchmarking-nix-cis>)

Author: Oct ; Julian K Arni; Sönke Hahn

Published: 2025-10-20T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [ci](<https://devfeed.tech/tags/ci.md>), [compare](<https://devfeed.tech/tags/compare.md>), [nix](<https://devfeed.tech/tags/nix.md>)

### AI overview

The article benchmarks CI services for Nix by forking well-known open-source projects that already use Nix and running different CIs on the same commits. It frames the comparison as feasible because Nix-based CIs perform the same core work, but the supplied excerpt gives no results or service-by-service findings.

### Source excerpt

Nix makes CIs easy to compare; we benchmarked the main Nix CIs.

## Stop trusting Nix caches

DevFeed: [Stop trusting Nix caches](<https://devfeed.tech/articles/stop-trusting-nix-caches-32420.md>)

Original publisher: [Read original article](<https://garnix.io/blog/stop-trusting-nix-caches>)

Author: Sep

Published: 2025-09-29T00:00:00Z

Content type: opinion

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [NixOS](<https://devfeed.tech/topics/nixos.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [attack](<https://devfeed.tech/tags/attack.md>), [build](<https://devfeed.tech/tags/build.md>), [cache](<https://devfeed.tech/tags/cache.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [nix](<https://devfeed.tech/tags/nix.md>)

### AI overview

The article warns that trusting an external Nix cache can let anyone with upload access replace plausible package builds with malicious executables, potentially leading to remote code execution or privilege escalation. Globally configured caches can affect unrelated builds; per-flake caches narrow exposure to that project but still let its developers poison software users install. In common CI setups, repository writers may access upload secrets, and short log retention can make later attribution difficult. The article recommends reviewing configured substituters and trusted keys, removing caches without a clear access-control model, and considering build systems where builders sign their own artifacts. It says Hydra separates building from direct cache uploads, while garnix limits signing to its operator; both can still be compromised. Trustix can require agreement among caches, but shared CI access weakens that protection and adds complexity and cache misses.

### Source excerpt

With most caches, you are giving a lot of people a lot of access

## What Comes After GitHub Actions?

DevFeed: [What Comes After GitHub Actions?](<https://devfeed.tech/articles/what-comes-after-github-actions-32423.md>)

Original publisher: [Read original article](<https://garnix.io/blog/what-comes-after-gha>)

Author: Mar

Published: 2025-03-21T00:00:00Z

Content type: opinion

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [bazel](<https://devfeed.tech/tags/bazel.md>), [build](<https://devfeed.tech/tags/build.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [compromise](<https://devfeed.tech/tags/compromise.md>), [debug](<https://devfeed.tech/tags/debug.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>)

### AI overview

The article proposes Nix as a way to make CI runs reproducible locally and less tied to a CI vendor: the build tool controls sequencing and parallelism, while the CI service displays its work. It says Nix runs sandboxed, pinned builds that can be split into packages and reproduced with `nix build`; caching can reuse dependencies, unchanged work, or artifacts built on CI. The article credits garnix with easier setup, logs, hardware, and a global cache, while noting those benefits are garnix-specific. It describes Nix's build interface as limiting what semi-trusted build steps can do, but cautions that malicious dependencies can still cause harm, including through final artifacts. The main drawback identified is the learning curve; garnix modules may generate Nix code for supported stacks. These are the article's claims, not a comparison with other CI tools.

### Source excerpt

A response to Gerd Zellweger's "The Pain that is GitHub Actions"

## garnix modules

DevFeed: [garnix modules](<https://devfeed.tech/articles/garnix-modules-32410.md>)

Original publisher: [Read original article](<https://garnix.io/blog/garnix-modules>)

Author: Feb

Published: 2025-02-28T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Code Modularity](<https://devfeed.tech/topics/code-modularity.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Use Cases for Every Cloud Service Model](<https://devfeed.tech/topics/use-cases-for-every-cloud-service-model.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [build](<https://devfeed.tech/tags/build.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [builder](<https://devfeed.tech/tags/builder.md>), [builds](<https://devfeed.tech/tags/builds.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cross-compilation](<https://devfeed.tech/tags/cross-compilation.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [faster](<https://devfeed.tech/tags/faster.md>), [modules](<https://devfeed.tech/tags/modules.md>), [useful](<https://devfeed.tech/tags/useful.md>)

### AI overview

garnix modules lets users configure CI/CD for Nix-capable projects through web forms generated from stack-specific modules, without needing to know Nix. Users can preview builds and generate a pull request that records the resulting Nix code. The article attributes garnix's CI features to Nix's unified, input-addressed cache: builds can be reused across commits and repositories, shared with users who have access, and deduplicated while in flight. It also describes sandboxing each build component, local reproduction of garnix's builds and infrastructure, development shells, and testing across architectures. Artifacts are often reproducible, but not always; the article notes that parallelism can cause nondeterministic builds. This is the first public release, and the authors say rough edges remain.

### Source excerpt

How CI can be faster, more reliable, and more useful

## Incremental builds in Nix and garnix

DevFeed: [Incremental builds in Nix and garnix](<https://devfeed.tech/articles/incremental-builds-in-nix-and-garnix-32412.md>)

Original publisher: [Read original article](<https://garnix.io/blog/incremental-builds>)

Published: 2024-11-16T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [build performance](<https://devfeed.tech/topics/build-performance.md>), [build times](<https://devfeed.tech/topics/build-times.md>)

Tags: [builds](<https://devfeed.tech/tags/builds.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [incremental](<https://devfeed.tech/tags/incremental.md>)

### AI overview

The article announces incremental compilation in garnix, reviews prior work on incremental compilation in Nix, and describes garnix's design.

### Source excerpt

We've added incremental compilation to garnix. In this blog, we discuss prior art on incremental compilation in Nix, and describe our own design.

## Function Types in Nix

DevFeed: [Function Types in Nix](<https://devfeed.tech/articles/function-types-in-nix-32422.md>)

Original publisher: [Read original article](<https://garnix.io/blog/typed-function-types>)

Author: Aug

Published: 2024-08-27T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Programming Language Type Systems](<https://devfeed.tech/topics/programming-language-type-systems.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [ast](<https://devfeed.tech/tags/ast.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [branch](<https://devfeed.tech/tags/branch.md>), [code](<https://devfeed.tech/tags/code.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [control](<https://devfeed.tech/tags/control.md>), [copy](<https://devfeed.tech/tags/copy.md>), [custom](<https://devfeed.tech/tags/custom.md>), [data](<https://devfeed.tech/tags/data.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [dev](<https://devfeed.tech/tags/dev.md>), [existing](<https://devfeed.tech/tags/existing.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [history](<https://devfeed.tech/tags/history.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [nix](<https://devfeed.tech/tags/nix.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

Nix's module system can validate configuration shapes, but it normally checks only that a value is a function, not that the function's inputs and outputs preserve a desired invariant. The post shows how to enforce one for deployment persistence: expose controlled constructors such as `merge`, `ifBranchIs`, and `continueOrCreate` that build tagged syntax-tree nodes instead of ordinary records. Apply the user function to a single tagged representation of prior state, then recursively check the resulting tree; branch alternatives must infer the same set of persistence names. A separate interpreter can turn a valid tree into persistence records for a given branch and prior state. The approach supports only arguments whose operations can be controlled and analyzed; arbitrary types such as `Int` do not work directly, though a controlled type built from integers may. The excerpt also connects the technique to defunctionalization and HOAS and notes possible use in transpilation.

### Source excerpt

A short note about custom typing for functions in Nix

## Hands-on NixOS servers

DevFeed: [Hands-on NixOS servers](<https://devfeed.tech/articles/hands-on-nixos-servers-32411.md>)

Original publisher: [Read original article](<https://garnix.io/blog/hosting-nixos>)

Author: Aug

Published: 2024-08-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [NixOS](<https://devfeed.tech/topics/nixos.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [Deployment Tools](<https://devfeed.tech/topics/deployment-tools.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Infrastructure as a Service (IaaS)](<https://devfeed.tech/topics/infrastructure-as-a-service-iaas.md>)

Tags: [deploy](<https://devfeed.tech/tags/deploy.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [guide](<https://devfeed.tech/tags/guide.md>), [nix](<https://devfeed.tech/tags/nix.md>), [nixos](<https://devfeed.tech/tags/nixos.md>), [servers](<https://devfeed.tech/tags/servers.md>)

### AI overview

With a Garnix account and its GitHub app installed on a repository containing a NixOS configuration, pushing changes triggers Garnix to build artifacts, run tests, and provision, update, or deprovision servers; the guide says no local Nix installation is needed. It explains configuring a host through a flake and NixOS modules, then gives a workflow: enable a packaged service, import a module from another flake when needed, or run an available binary as a systemd service. Its Jitsi example uses about 20 lines of configuration, and it also describes building Go and TypeScript software with cached dependencies. The author argues NixOS makes service composition easier than Docker, using a Borg backup job as an example. Garnix's free tier is described as including two months on a 4 GB RAM, 2 vCPU server. The article's final notice says Garnix is open-sourcing and shutting down the service.

### Source excerpt

A guide to deploying NixOS servers - without even installing Nix!

## Cradle: a simpler, more composable Haskell process library

DevFeed: [Cradle: a simpler, more composable Haskell process library](<https://devfeed.tech/articles/announcing-cradle-32396.md>)

Original publisher: [Read original article](<https://garnix.io/blog/announcing-cradle>)

Published: 2024-05-14T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Haskell](<https://devfeed.tech/topics/haskell.md>), [Library](<https://devfeed.tech/topics/library.md>), [Process](<https://devfeed.tech/topics/process.md>)

Tags: [haskell](<https://devfeed.tech/tags/haskell.md>), [library](<https://devfeed.tech/tags/library.md>), [process](<https://devfeed.tech/tags/process.md>)

### AI overview

An announcement for cradle, described as a simpler and more composable Haskell process library.

### Source excerpt

A simpler, more composable Haskell process library

## Call by hash

DevFeed: [Call by hash](<https://devfeed.tech/articles/call-by-hash-32401.md>)

Original publisher: [Read original article](<https://garnix.io/blog/call-by-hash>)

Author: Mar

Published: 2024-03-14T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [content addressed store](<https://devfeed.tech/topics/content-addressed-store.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Platform Engineering](<https://devfeed.tech/topics/platform-engineering.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [activation](<https://devfeed.tech/tags/activation.md>), [added](<https://devfeed.tech/tags/added.md>), [administration](<https://devfeed.tech/tags/administration.md>), [advice](<https://devfeed.tech/tags/advice.md>), [alarm](<https://devfeed.tech/tags/alarm.md>), [all](<https://devfeed.tech/tags/all.md>), [allowed](<https://devfeed.tech/tags/allowed.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [also](<https://devfeed.tech/tags/also.md>), [call](<https://devfeed.tech/tags/call.md>), [can](<https://devfeed.tech/tags/can.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [hash](<https://devfeed.tech/tags/hash.md>), [idea](<https://devfeed.tech/tags/idea.md>), [make](<https://devfeed.tech/tags/make.md>), [simplify](<https://devfeed.tech/tags/simplify.md>), [urls](<https://devfeed.tech/tags/urls.md>)

### AI overview

The article proposes immutable, hash-based service URLs to make deployments follow service dependencies. A service URL identifies a fixed configuration; when a backend changes, its URL changes, and dependent services are rebuilt and redeployed to use the new URL. Unrelated services need not be redeployed, and identical services can be shared across environments such as pull request deployments. The author argues this enables infrastructure-wide atomic upgrades, lets requests finish before dependent services shut down, and avoids extra routing components such as deployment-specific DNS or service meshes. Compared with rolling deployments, it supports atomic changes but redeploys only affected services; compared with blue-green deployments, it avoids duplicating the entire infrastructure. The article says persistence, webhooks, and circular dependencies remain complicating topics, and describes socket activation and scale-to-zero as a promising idea not yet implemented.

### Source excerpt

What happens if we make URLs immutable? A somewhat unusual idea that can substantially improve and simplify deployments.

## Taking the Language Server Protocol one step further

DevFeed: [Taking the Language Server Protocol one step further](<https://devfeed.tech/articles/taking-the-language-server-protocol-one-step-further-32421.md>)

Original publisher: [Read original article](<https://garnix.io/blog/taking-lsp-one-step-further>)

Published: 2023-12-19T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [editor](<https://devfeed.tech/tags/editor.md>), [flexibility](<https://devfeed.tech/tags/flexibility.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [protocol](<https://devfeed.tech/tags/protocol.md>)

### AI overview

The article examines Microsoft's Language Server Protocol, noting that it supports diversity among text editors but lacks flexibility for project-specific configuration.

### Source excerpt

Microsoft's LSP is great for text-editor diversity, but it is severely lacking in flexibility for project-specific configuration.

## garn v0.0.19: Bringing existing flake files into your garn project

DevFeed: [garn v0.0.19: Bringing existing flake files into your garn project](<https://devfeed.tech/articles/garn-v0-0-19-bringing-existing-flake-files-into-your-garn-project-32405.md>)

Original publisher: [Read original article](<https://garnix.io/blog/flake-imports>)

Published: 2023-12-07T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [import](<https://devfeed.tech/topics/import.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [version](<https://devfeed.tech/topics/version.md>), [Internet](<https://devfeed.tech/topics/internet.md>)

Tags: [existing](<https://devfeed.tech/tags/existing.md>), [files](<https://devfeed.tech/tags/files.md>), [import](<https://devfeed.tech/tags/import.md>), [project](<https://devfeed.tech/tags/project.md>), [release](<https://devfeed.tech/tags/release.md>), [repository](<https://devfeed.tech/tags/repository.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

garn v0.0.19 adds support for importing Nix flakes from the internet and from an existing repository into a garn project.

### Source excerpt

Release announcement for garn version v0.0.19, which includes the ability to import Nix flakes from the internet and from your repository.

## garn version v0.0.18

DevFeed: [garn version v0.0.18](<https://devfeed.tech/articles/garn-version-v0-0-18-32408.md>)

Original publisher: [Read original article](<https://garnix.io/blog/garn-v0_0_18>)

Author: Nov

Published: 2023-11-30T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [changelog](<https://devfeed.tech/topics/changelog.md>), [Haskell](<https://devfeed.tech/topics/haskell.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [build-tool](<https://devfeed.tech/tags/build-tool.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [command](<https://devfeed.tech/tags/command.md>), [deno](<https://devfeed.tech/tags/deno.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [directory](<https://devfeed.tech/tags/directory.md>), [environment](<https://devfeed.tech/tags/environment.md>), [file](<https://devfeed.tech/tags/file.md>), [git](<https://devfeed.tech/tags/git.md>), [haskell](<https://devfeed.tech/tags/haskell.md>), [ide](<https://devfeed.tech/tags/ide.md>), [init](<https://devfeed.tech/tags/init.md>), [nix](<https://devfeed.tech/tags/nix.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Garn v0.0.18 adds a built-in `garn edit` command that opens `garn.ts` in VSCodium with Deno language-server support; VSCodium is currently the only editor option. Garn also includes untracked Git files in build sandboxes, avoiding missing-file errors before they are added to Git; the announcement says this uses a patch submitted to Nix. Haskell projects can now have any number of executables, including none, and `garn init` derives them from the Cabal file. `overrideDependencies` lets projects select Hackage versions instead of package-set defaults. Other changes include support for entering top-level environments and removal of the redundant `devShell` field from `mkNpmProject` and `mkYarnProject`.

### Source excerpt

Release announcement for garn version v0.0.17 and v0.0.18. Includes better Haskell support, and less confusing file tracking.

## garn version v0.0.16

DevFeed: [garn version v0.0.16](<https://devfeed.tech/articles/garn-version-v0-0-16-32407.md>)

Original publisher: [Read original article](<https://garnix.io/blog/garn-v0_0_16>)

Published: 2023-11-24T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [version](<https://devfeed.tech/topics/version.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

A release announcement for garn version v0.0.16.

### Source excerpt

Release announcement for garn version v0.0.16

## Contextual CLIs

DevFeed: [Contextual CLIs](<https://devfeed.tech/articles/contextual-clis-32402.md>)

Original publisher: [Read original article](<https://garnix.io/blog/contextual-cli>)

Author: Nov

Published: 2023-11-17T00:00:00Z

Content type: opinion

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Design for devtools](<https://devfeed.tech/topics/design-for-devtools.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [interface](<https://devfeed.tech/topics/interface.md>), [Vagrant](<https://devfeed.tech/topics/vagrant.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [account](<https://devfeed.tech/tags/account.md>), [admin](<https://devfeed.tech/tags/admin.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [aliases](<https://devfeed.tech/tags/aliases.md>), [all](<https://devfeed.tech/tags/all.md>), [allows](<https://devfeed.tech/tags/allows.md>), [also](<https://devfeed.tech/tags/also.md>), [am](<https://devfeed.tech/tags/am.md>), [application](<https://devfeed.tech/tags/application.md>), [approach](<https://devfeed.tech/tags/approach.md>), [area](<https://devfeed.tech/tags/area.md>), [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [command](<https://devfeed.tech/tags/command.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [designing](<https://devfeed.tech/tags/designing.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [more](<https://devfeed.tech/tags/more.md>)

### AI overview

The article argues that CLI help should reflect the command's current project, configuration, environment, and state so users see relevant actions and requirements. It contrasts this with traditional UNIX tools, which take explicit inputs and behave consistently, and notes that contextual defaults in fd and rg trade some explicitness for simpler interfaces. For larger tools with subcommands, help can list project-defined commands (as garn run does), configured npm scripts, and git aliases; it can also distinguish available from unavailable commands and explain why. The author reports that garn's context-sensitive help tested well with users, and proposes man pages as a place for non-contextual reference.

### Source excerpt

A more contextual and dynamic approach to designing command-line interfaces.

## garn version v0.0.15

DevFeed: [garn version v0.0.15](<https://devfeed.tech/articles/garn-version-v0-0-15-32406.md>)

Original publisher: [Read original article](<https://garnix.io/blog/garn-v0_0_15>)

Author: Nov 8

Published: 2023-11-08T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Release notes](<https://devfeed.tech/topics/release-notes.md>), [project release](<https://devfeed.tech/topics/project-release.md>), [version](<https://devfeed.tech/topics/version.md>), [reusable code](<https://devfeed.tech/topics/reusable-code.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [api](<https://devfeed.tech/tags/api.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [error](<https://devfeed.tech/tags/error.md>), [error-messages](<https://devfeed.tech/tags/error-messages.md>), [exit](<https://devfeed.tech/tags/exit.md>), [faster](<https://devfeed.tech/tags/faster.md>), [features](<https://devfeed.tech/tags/features.md>), [files](<https://devfeed.tech/tags/files.md>), [install](<https://devfeed.tech/tags/install.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [nix](<https://devfeed.tech/tags/nix.md>), [posts](<https://devfeed.tech/tags/posts.md>), [release](<https://devfeed.tech/tags/release.md>), [run](<https://devfeed.tech/tags/run.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Garn v0.0.15 adds simpler overloads to TypeScript library functions such as `Project.addCheck`. Checks can now declare tools with `.withDevTools([pkgs.ripgrep])` and use a plain command string; the previous package-splicing syntax remains supported when needed. When `garn run` executes a failing shell executable, it now returns the child's exit code and leaves error output to that process instead of printing a confusing child-process error. Generated flakes include only inputs actually used, which the release says should make Garn run a little faster.

### Source excerpt

Release announcement for garn version v0.0.15

## Announcing Garn

DevFeed: [Announcing Garn](<https://devfeed.tech/articles/announcing-garn-32397.md>)

Original publisher: [Read original article](<https://garnix.io/blog/announcing-garn>)

Author: Nov 2; Alex David; Sönke Hahn

Published: 2023-11-02T00:00:00Z

Content type: release

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Build tool](<https://devfeed.tech/topics/build-tool.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Deno](<https://devfeed.tech/topics/deno.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [based](<https://devfeed.tech/tags/based.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [builds](<https://devfeed.tech/tags/builds.md>), [caching](<https://devfeed.tech/tags/caching.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cli](<https://devfeed.tech/tags/cli.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [composability](<https://devfeed.tech/tags/composability.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [core](<https://devfeed.tech/tags/core.md>), [deno](<https://devfeed.tech/tags/deno.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [environment](<https://devfeed.tech/tags/environment.md>), [features](<https://devfeed.tech/tags/features.md>), [nix](<https://devfeed.tech/tags/nix.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

Garn is an open-source, Apache-licensed build and environment tool that uses Nix for reproducible builds while letting users define projects in TypeScript. A `garn.ts` file describes projects, checks, executables, and environments; Garn turns these into a Nix flake and runs commands such as `garn build`, `garn check`, `garn run`, and `garn enter`. Its `init` command can infer a starting configuration from a project layout. Garn uses Deno behind the scenes and installs it for users; TypeScript editor support can provide type errors and package completion. The article says Garn aims to make Nix's reproducibility and environment isolation easier to access, while acknowledging it is beta software, currently supports Go, npm, and Haskell projects, and still has noisy Nix logs and error messages.

### Source excerpt

Announcing garn, a build tool and environment manager based on Nix, Deno and Typescript

## NIXBOVIK Part 1: Nix Derived Melodies

DevFeed: [NIXBOVIK Part 1: Nix Derived Melodies](<https://devfeed.tech/articles/nixbovik-part-1-nix-derived-melodies-32415.md>)

Original publisher: [Read original article](<https://garnix.io/blog/nixbovik-nix-derived-melodies>)

Author: Sep

Published: 2023-09-18T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [derivations](<https://devfeed.tech/tags/derivations.md>), [ffmpeg](<https://devfeed.tech/tags/ffmpeg.md>), [hackathon](<https://devfeed.tech/tags/hackathon.md>), [music](<https://devfeed.tech/tags/music.md>), [nix](<https://devfeed.tech/tags/nix.md>), [pairing](<https://devfeed.tech/tags/pairing.md>), [paper](<https://devfeed.tech/tags/paper.md>)

### AI overview

The project composes music by making each note a Nix derivation that produces a WAV file. A `sine` primitive uses SoX to generate a tone; `sequence` concatenates note files with SoX, while `overlay` mixes them simultaneously with FFmpeg. Both combinators use a short, zero-volume sine as their fold base case: an earlier above-Nyquist "silence" hack produced audible phantom frequencies. The `square` helper approximates a square wave by overlaying odd harmonics with decreasing volume. The Nix cache made melody rebuilds tolerable at 1-5 seconds, depending on complexity, but iteration generated uncompressed audio that rapidly expanded `/nix/store`. The article provides a `nix run` command to hear the song and says using the Garnix cache makes it faster.

### Source excerpt

An abuse of Nix to declaratively compose music

## Updates (September 4th, 2023)

DevFeed: [Updates (September 4th, 2023)](<https://devfeed.tech/articles/updates-september-4th-2023-32418.md>)

Original publisher: [Read original article](<https://garnix.io/blog/september-4-2023-release-notes>)

Author: Sep 4

Published: 2023-09-04T00:00:00Z

Content type: news

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [builds](<https://devfeed.tech/topics/builds.md>), [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>)

Tags: [2023](<https://devfeed.tech/tags/2023.md>), [arm](<https://devfeed.tech/tags/arm.md>), [badge](<https://devfeed.tech/tags/badge.md>), [builds](<https://devfeed.tech/tags/builds.md>), [funding](<https://devfeed.tech/tags/funding.md>), [private](<https://devfeed.tech/tags/private.md>), [team](<https://devfeed.tech/tags/team.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

Garnix CI added native aarch64-linux builders, which the post says are more efficient than its previous emulation and may help Raspberry Pi and embedded-device builds. It also added support for private Flake inputs using tokens, builds Home Manager homeConfigurations, and offers dynamic build-status badges; badges cannot authenticate access and therefore do not work for private repositories. Garnix now checks for flake.nix or garnix.yaml before starting builds, allowing organization-wide installation while controlling activation in repository source and avoiding failures on branches without those files. The post also describes a smoother separation of GitHub sign-in authorization from app installation. Token setup details were deferred to a later post, and NixOS machine hosting was still in development as a beta feature.

### Source excerpt

ARM builds, private inputs, badges, new team, funding

[Next page](<https://devfeed.tech/sources/garnix-blog.md?cursor=WyIyMDIzLTA5LTA0VDAwOjAwOjAwKzAwOjAwIiwgIjM1MDFmNzE4LTI2M2YtNGIzMC1hNGM4LWU2Njc3MzExMmNiNSJd>)