chore: update emacs-config #366
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
nix-package-url: https://releases.nixos.org/nix/nix-2.18.2/nix-2.18.2-x86_64-linux.tar.xz | |
extra-conf: | | |
http-connections = 50 | |
max-jobs = auto | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v15 | |
with: | |
useDaemon: true | |
name: terlar | |
extraPullNames: cuda-maintainers | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Check | |
run: nix flake check | |
dev-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
nix-package-url: https://releases.nixos.org/nix/nix-2.18.2/nix-2.18.2-x86_64-linux.tar.xz | |
extra-conf: | | |
http-connections = 50 | |
max-jobs = auto | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v15 | |
with: | |
useDaemon: true | |
name: terlar | |
extraPullNames: cuda-maintainers | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Check | |
run: nix flake check ./dev | |
build-home-configuration: | |
strategy: | |
matrix: | |
include: | |
- username: terje | |
os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
nix-package-url: https://releases.nixos.org/nix/nix-2.18.2/nix-2.18.2-x86_64-linux.tar.xz | |
extra-conf: | | |
http-connections = 50 | |
max-jobs = auto | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v15 | |
with: | |
useDaemon: true | |
name: terlar | |
extraPullNames: cuda-maintainers | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Build activation package | |
run: | | |
nix build --print-build-logs .#homeConfigurations.${{ matrix.username }}.activationPackage | |
build-nixos-configuration: | |
strategy: | |
matrix: | |
host: | |
- kong | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jlumbroso/free-disk-space@v1.3.1 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
nix-package-url: https://releases.nixos.org/nix/nix-2.18.2/nix-2.18.2-x86_64-linux.tar.xz | |
extra-conf: | | |
http-connections = 50 | |
max-jobs = auto | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v15 | |
with: | |
useDaemon: true | |
name: terlar | |
extraPullNames: cuda-maintainers | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Build system | |
run: | | |
nix build --print-build-logs .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
build-iso: | |
strategy: | |
matrix: | |
name: | |
- installer-yubikey | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
nix-package-url: https://releases.nixos.org/nix/nix-2.18.2/nix-2.18.2-x86_64-linux.tar.xz | |
extra-conf: | | |
http-connections = 50 | |
max-jobs = auto | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v15 | |
with: | |
useDaemon: true | |
name: terlar | |
extraPullNames: cuda-maintainers | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Build ISO | |
run: | | |
GC_DONT_GC=1 nix build --print-build-logs .#nixosConfigurations.${{ matrix.name }}.config.system.build.isoImage |