Skip to content

CachyOS kernel

CachyOS kernel #68

Workflow file for this run

name: CachyOS kernel
on:
push:
branches:
- main
paths:
- default.nix
- cachyos/package.nix
- cachyos/sources.nix
- .github/workflows/cachyos.yml
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
channel:
- nixos-24.11
- nixos-unstable
name: Build - ${{ matrix.channel }}
runs-on: [linux, x64, ktisis, ktisis-c3d-highcpu-4, ktisis-50GB]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
diagnostic-endpoint: ""
- run: |
nix-channel --add https://nixos.org/channels/${{ matrix.channel }} nixpkgs
nix-channel --update
- uses: cachix/cachix-action@v15
with:
name: drakon64-nixos-cachyos-kernel
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: cachix pin drakon64-nixos-cachyos-kernel ${{ matrix.channel }} $(cachix watch-exec drakon64-nixos-cachyos-kernel -- nix-build -A linuxPackages_cachyos) --keep-revisions 1