migrate to clan
This commit is contained in:
parent
f817ba1405
commit
f1ec59c3af
60 changed files with 225 additions and 391 deletions
21
machines/crocus/radicle.nix
Normal file
21
machines/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