hydra add signing key
This commit is contained in:
@@ -7,5 +7,27 @@
|
||||
notificationSender = "hydra@localhost";
|
||||
useSubstitutes = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
#allowedUDPPorts = [ ];
|
||||
allowedTCPPorts = [ 3000 ];
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings.trusted-users = [
|
||||
"hydra"
|
||||
];
|
||||
|
||||
extraOptions = ''
|
||||
secret-key-files = config.age.secrets."keys/nixservepriv".path;
|
||||
'';
|
||||
};
|
||||
|
||||
age.secrets."keys/nixservepriv" = {
|
||||
file = ../../../secrets/keys/nixservepriv.age;
|
||||
owner = "hydra";
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user