fix some stuff
This commit is contained in:
parent
b92f278573
commit
877bef3dbc
2 changed files with 5 additions and 9 deletions
|
@ -195,6 +195,7 @@
|
|||
users.users.darkkirb.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDpO0Lh7eOE/EBttb/XWZ6ISiJ0RkmBYfruq3U6linEz root@nixos-8gb-fsn1-1"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKB8oH1XbuGrKn/SeguXz96sw4AjJQQvZyAdpptotzOr root@thinkrac"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAN/rVZJuwiO44LwOqimpH4zyGehYUMF2ZhYFXUCkupP hydra-queue-runner@nas"
|
||||
];
|
||||
nix.systemFeatures = [
|
||||
"kvm"
|
||||
|
|
|
@ -5,6 +5,10 @@ let
|
|||
add_header Alt-Svc 'h3=":443"';
|
||||
'';
|
||||
clean-cache = pkgs.callPackage ../../packages/clean-s3-cache.nix { };
|
||||
machines = pkgs.writeText "machines" ''
|
||||
localhost armv7l-linux,aarch64-linux,powerpc-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,wasm32-wasi,x86_64-linux,i686-linux - 12 1 kvm,nixos-test,big-parallel,benchmark,gccarch-znver2,gccarch-znver1,gccarch-skylake,ca-derivations -
|
||||
build-pc armv7l-linux,aarch64-linux,powerpc-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,wasm32-wasi,x86_64-linux,i686-linux - 16 1 kvm,nixos-test,big-parallel,benchmark,gccarch-znver2,gccarch-znver1,gccarch-skylake,ca-derivations -
|
||||
'';
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
@ -31,15 +35,6 @@ in
|
|||
giteaTokenFile = "/run/secrets/services/hydra/gitea_token";
|
||||
githubTokenFile = "/run/secrets/services/hydra/github_token";
|
||||
};
|
||||
services.postgresql.ensureDatabases = [ "hydra" ];
|
||||
services.postgresql.ensureUsers = [
|
||||
{
|
||||
name = "hydra";
|
||||
ensurePermissions = {
|
||||
"DATABASE hydra" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
];
|
||||
nix.settings.allowed-uris = [ "https://github.com/" "https://git.chir.rs/" "https://darkkirb.de/" "https://git.neo-layout.org/" "https://static.darkkirb.de/" ];
|
||||
sops.secrets."services/hydra/gitea_token" = { };
|
||||
sops.secrets."services/hydra/github_token" = { };
|
||||
|
|
Loading…
Reference in a new issue