mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-02 15:37:20 +02:00
feat: setup arkheon
This commit is contained in:
parent
9c4bf3af61
commit
bc31afe86a
11 changed files with 94 additions and 10 deletions
32
machines/lambda/arkheon.nix
Normal file
32
machines/lambda/arkheon.nix
Normal 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;
|
||||
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue