-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
44 lines (44 loc) · 1.21 KB
/
action.yml
File metadata and controls
44 lines (44 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Setup Nix Action
description: Setup Nix on the GitHub Actions runner
author: Scaffoldly <github.com/scaffoldly>
branding:
icon: terminal
color: gray-dark
inputs:
github-token:
description: "GitHub token for API rate limits"
required: false
default: ${{ github.token }}
cache-key:
description: "Cache key"
required: false
default: "${{ runner.os }}-nix-store-${{ hashFiles('**/*.nix', '**/*.lock') }}"
enable-kvm:
description: "Enable KVM for hardware-accelerated virtualization on Linux, if available"
required: false
default: "true"
set-as-trusted-user:
description: "Add user to trusted-users in nix.conf"
required: false
default: "true"
extra-nix-config:
description: "Additional nix.conf configuration"
required: false
default: ""
install-options:
description: "Additional options for the Nix installer"
required: false
default: ""
install-url:
description: "Custom URL for the Nix installer script"
required: false
default: ""
nix-path:
description: "Custom NIX_PATH to set"
required: false
default: ""
runs:
using: "node24"
pre: "dist/pre/index.js"
main: "dist/main/index.js"
post: "dist/post/index.js"