major refactor (treewide amongst general cleaning based on my modified dots (with help from notashelf) - perks 1: it works

This commit is contained in:
rubiigen 2024-02-02 18:29:45 +00:00
commit 1d17fd15f3
No known key found for this signature in database
31 changed files with 2140 additions and 1145 deletions

33
.github/workflows/nix.yml vendored Normal file
View 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 }}"