feat: add eval action
All checks were successful
Evaluate configurations / Evaluate configurations (push) Successful in 1m36s
All checks were successful
Evaluate configurations / Evaluate configurations (push) Successful in 1m36s
This commit is contained in:
parent
8901317d40
commit
c7754bb2d8
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/eval.yml
Normal file
20
.forgejo/workflows/eval.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Evaluate configurations
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
eval:
|
||||||
|
name: Evaluate configurations
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@v14
|
||||||
|
|
||||||
|
- name: Evaluate
|
||||||
|
run: |
|
||||||
|
nix eval .#nixosConfigurations --apply 'builtins.mapAttrs (name: cfg: cfg.config.system.build.toplevel)'
|
Loading…
Add table
Add a link
Reference in a new issue