major refactor (treewide amongst general cleaning based on my modified dots (with help from notashelf) - perks 1: it works
This commit is contained in:
parent
ea3485f5c5
commit
1d17fd15f3
31 changed files with 2140 additions and 1145 deletions
33
.github/workflows/nix.yml
vendored
Normal file
33
.github/workflows/nix.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Nix Setup
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
command:
|
||||
required: false
|
||||
type: string
|
||||
platform:
|
||||
default: "ubuntu"
|
||||
required: false
|
||||
type: string
|
||||
secrets:
|
||||
GH_TOKEN:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
nix:
|
||||
runs-on: "${{ inputs.platform }}-latest"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: "${{ secrets.GH_TOKEN }}"
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Nix Magic Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: "Run Input: ${{ inputs.command }}"
|
||||
run: "${{ inputs.command }}"
|
||||
Reference in a new issue