Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNikov authored and PetarKirov committed Aug 4, 2024
1 parent b28e8fb commit ff9f235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
run: |
mkdir -p $HOME/.config/nix
{
echo "${{ inputs.nix-github-token != '' && format('access-tokens = github.com={0}', inputs.nix-github-token) || '' }}
echo "${{ secrets.nix-github-token != '' && format('access-tokens = github.com={0}', secrets.nix-github-token) || '' }}
accept-flake-config = true"
} > $HOME/.config/nix/nix.conf
- name: Run `nix flake update`
id: update-lockfile
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
mkdir -p $HOME/.config/nix
{
echo "${{ inputs.nix-github-token != '' && format('access-tokens = github.com={0}', inputs.nix-github-token) || '' }}
echo "${{ secrets.nix-github-token != '' && format('access-tokens = github.com={0}', secrets.nix-github-token) || '' }}
accept-flake-config = true
allow-import-from-derivation = true"
} > $HOME/.config/nix/nix.conf
Expand Down

0 comments on commit ff9f235

Please sign in to comment.