give hydra permissions to access boards

This commit is contained in:
Sebastien Bourdeauducq 2019-02-17 23:19:47 +08:00
parent 611da9a051
commit 50a0c28cbc
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
</runcommand> </runcommand>
''; '';
}; };
users.users.hydra-queue-runner.extraGroups = [ "plugdev" "dialout" ];
nix.extraOptions = '' nix.extraOptions = ''
secret-key-files = /etc/nixos/secret/nixbld.m-labs.hk-1 secret-key-files = /etc/nixos/secret/nixbld.m-labs.hk-1