create radicle node on genepi
This commit is contained in:
parent
9bc510fb52
commit
3f72ad6ac9
6 changed files with 67 additions and 0 deletions
21
hosts/crocus/radicle.nix
Normal file
21
hosts/crocus/radicle.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ config, keys, ... }:
|
||||
{
|
||||
services.radicle = {
|
||||
enable = true;
|
||||
privateKeyFile = config.age.secrets.radicle-private-key.path;
|
||||
publicKey = keys.services.radicle;
|
||||
node = {
|
||||
openFirewall = true;
|
||||
};
|
||||
httpd = {
|
||||
enable = true;
|
||||
nginx = {
|
||||
serverName = "radicle.rpqt.fr";
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets.radicle-private-key.file = ../../secrets/radicle-private-key.age;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue