Skip to content

Commit

Permalink
fixup! use flake inptus for holo-nixpkgs and nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Sep 5, 2024
1 parent fe62f03 commit 72d13ee
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-hds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
extra-conf: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.nixos.org/
netrc-file = /etc/nix/netrc
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Configure nix with github credentials
Expand All @@ -66,11 +67,6 @@ jobs:
password ${{ secrets.NIX_GITHUB_PRIVATE_PASSWORD }}
EOF
sudo dd of=/etc/nix/nix.conf <<EOF
netrc-file = /etc/nix/netrc
EOF
sudo chmod 664 /etc/nix/nix.conf
sudo mkdir -p /etc/systemd/system/nix-daemon.service.d/
sudo dd of=/etc/systemd/system/nix-daemon.service.d/github-credentials.conf <<EOF
[Service]
Expand Down Expand Up @@ -148,6 +144,8 @@ jobs:
with:
limit-access-to-actor: true # Restrict to the user who triggered the workflow
limit-access-to-users: steveej # Specific authorized users only
## If no one connects after 5 minutes, shut down server.
wait-timeout-minutes: 5



Expand Down

0 comments on commit 72d13ee

Please sign in to comment.