feat: add more nix config entries
This commit is contained in:
@ -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
|
||||
'';
|
||||
})
|
||||
]
|
||||
|
Reference in New Issue
Block a user