👷 Add install-lix action and build workflow

This commit is contained in:
Jo 2025-05-26 18:41:25 +02:00
parent 45494079c5
commit e7b609a7f7
2 changed files with 51 additions and 0 deletions

17
.github/actions/install-lix/action.yml vendored Normal file
View file

@ -0,0 +1,17 @@
# Taken from: https://github.com/isabelroses/dotfiles/blob/9335e5728eaaa9bdcb0d5c3130a5d7c8dddbb6e3/.github/actions/install-lix/action.yml :3
name: Install Lix
description: "Install Lix for the specified system"
runs:
using: composite
steps:
- uses: DeterminateSystems/nix-installer-action@main
with:
source-url: 'https://install.lix.systems/lix/lix-installer-${{ fromJSON(''{"X64":"x86_64","X86":"i686","ARM64":"aarch64","ARM":"armv7l"}'')[runner.arch] }}-${{ fromJSON(''{"Linux":"linux","macOS":"darwin","Windows":"windows"}'')[runner.os] }}'
logger: pretty
diagnostic-endpoint: ""
extra-conf: |
experimental-features = flakes nix-command
substituters = https://nix-community.cachix.org https://catppuccin.cachix.org https://cache.nixos.org/
trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= catppuccin.cachix.org-1:noG/4HkbhJb+lUAdKrph6LaozJvAeEEZj4N732IysmU= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=