feat: setup arkheon

This commit is contained in:
Luj 2024-09-02 16:42:35 +02:00
parent 0ae1917081
commit 2dc55d2a94
Signed by: luj
GPG key ID: 6FC74C847011FD83
14 changed files with 125 additions and 10 deletions

View file

@ -0,0 +1,32 @@
{
config,
inputs,
pkgs,
...
}:
{
age.secrets."arkheon-env".file = ../../secrets/arkheon-env.age;
nixpkgs.overlays = [ (import (inputs.arkheon.outPath + "/overlay.nix")) ];
services.arkheon = {
enable = true;
pythonEnv = pkgs.python3.withPackages (ps: [
ps.arkheon
ps.daphne
ps.psycopg2
]);
domain = "arkheon.luj.fr";
nginx = {
enableACME = true;
forceSSL = true;
};
envFile = config.age.secrets."arkheon-env".path;
};
}