Closed
Description
Running the following workflow file: https://github.com/siriobalmelli-foss/ci-test/blob/main/.github/workflows/aarch64-nix.yml
With the following role config:
roles.github-actions-runner = {
url = "https://github.com/siriobalmelli-foss";
count = 1;
name = "ghrunner";
githubApp = {
id = "<ELIDED>";
login = "<ELIDED>";
privateKeyFile = config.sops.secrets.github.path;
};
cachix.cacheName = "siriobalmelli-nixpkgs";
cachix.tokenFile = config.sops.secrets.cachix.path;
};
Gives the following error:
user 'ghrunner-1' is not allowed to connect to the Nix daemon
I can work around this by adding:
nix.settings.allowed-users = ["ghrunner-1"];
I'm pretty sure the DynamicUser being created should be able to access nix-daemon
, correct?
I'm unsure however whether I would try to rework
so that it adds an entry tonix.settings.allowed-users
or whether I should take another approach; any suggestions welcome.
For context, this seems related to #50
Metadata
Metadata
Assignees
Labels
No labels