Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nix-daemon

Starts the Nix daemon

The nix-actions container does not have a Nix daemon runnning by default. It is not required for a simple build, but might be for things like caching using Cachix.

Note: nix-actions actions will already include this action when required, so there might not be the need to call this action (again).

Caution: This action restarts the daemon in case it is already running.

This actions will stop a possibly running Nix daemon, start it and set the NIX_REMOTE environment variable to daemon, telling other Nix tools about it.

Usage

To use this action, add the follwing step to your workflow:

steps:
  - name: Nix
    uses: https://codeberg.org/nix-actions/nix-daemon@main