Skip to content

make system actually build #8

make system actually build

make system actually build #8

Workflow file for this run

name: Build systems
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
#- name: Free up space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
- name: Ensure disk space
run: |
lsblk
df -h
sudo mkdir -p /mnt/nix /nix
sudo mount --bind /mnt/nix /nix
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Setup Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: anna328p
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Update volatile inputs
run: nix flake update keydb
- name: Build hermes configuration
run: nix build --accept-flake-config 'path:.#nixosConfigurations.hermes.config.system.build.toplevel'
- name: Confirm success
run: echo 'OK'