1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2025-05-15 07:59:53 +02:00

Initial import

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2023-09-22 19:37:47 +02:00
commit 704579d3cd
4 changed files with 736 additions and 0 deletions

16
install/action.yml Normal file
View file

@ -0,0 +1,16 @@
---
name: install-nix
author: Gergely Nagy
description: "Install the Nix package manager on non-NixOS hosts"
inputs:
install-url:
description: "URL to download the installer from"
required: true
default: "https://nixos.org/nix/install"
runs:
using: "composite"
steps:
- shell: bash
run: $GITHUB_ACTION_PATH/bin/install-nix
env:
INPUT_INSTALL_URL: ${{ inputs.install-url }}