feat: add more nix config entries

This commit is contained in:
2025-06-05 19:20:47 +02:00
parent 03eb98ca7e
commit c20c1fbddf
2 changed files with 3 additions and 1 deletions
.forgejo/workflows
flake.nix

@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build docker image
run: |
nix build .# -j 4 --print-build-logs
nix build .# --print-build-logs --no-sandbox
- name: Push docker image to registry
run: |
docker login -u "${{ vars.UPSTREAM_USER }}" -p "${{ secrets.UPSTREAM_PASS }}" "${{ vars.UPSTREAM_REPO }}"

@ -67,8 +67,10 @@
name = "nix.conf";
destination = "/etc/nix/nix.conf";
text = ''
auto-optimise-store = true
accept-flake-config = true
experimental-features = nix-command flakes ca-derivations
max-jobs = auto
'';
})
]