Skip to content

Commit b954e8f

Browse files
committed
Write nix2.conf as a quick test
1 parent f5dd2c7 commit b954e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
limactl shell nixsample -- git clone $HOME_CONFIG_REPO $CONFIG_DIR/home-manager
6161
# Temporarily (it will be overwritten on the next nixos-rebuild) add a GitHub access token to nix.conf so
6262
# we can init Home Manager without getting rate limited by GitHub Actions
63-
limactl shell nixsample -- sudo echo "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" >> /etc/nix/nix.conf
63+
limactl shell nixsample -- sudo sh -c "echo 'access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}' >> /etc/nix/nix2.conf"
6464
# Initialize Home Manager
6565
limactl shell nixsample -- nix run home-manager/master -- init --switch
6666
# Configure subuid/subgid support for running rootless Podman services

0 commit comments

Comments
 (0)