hydra: set allowed URIs in restricted mode for flake inputs
This commit is contained in:
parent
f35cfbd567
commit
d2336262fb
|
@ -64,6 +64,15 @@ in {
|
|||
# Can be removed once this is added to some common config template.
|
||||
nix.settings.trusted-users = [ "root" "hydra" "hydra-www" "@wheel" ];
|
||||
|
||||
# Because Hydra can't fetch flake inputs otherwise... also yes, this
|
||||
# prefix-based matching is absurdly bad.
|
||||
nix.settings.allowed-uris = [
|
||||
"github:"
|
||||
"https://github.com/"
|
||||
"https://git.lix.systems/"
|
||||
"https://git@git.lix.systems/"
|
||||
];
|
||||
|
||||
services.hydra-dev = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue