2024-03-08 11:54:59 +01:00
|
|
|
{ config, sources, ... }:
|
|
|
|
|
|
|
|
{
|
2024-03-08 11:54:59 +01:00
|
|
|
nixpkgs.overlays = [ (import (sources.arkheon.outPath + "/overlay.nix")) ];
|
2024-03-08 11:54:59 +01:00
|
|
|
|
|
|
|
services.arkheon = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-03-08 11:54:59 +01:00
|
|
|
pythonEnv =
|
|
|
|
(import sources.nixos-unstable {
|
|
|
|
overlays = [ (import (sources.arkheon.outPath + "/overlay.nix")) ];
|
|
|
|
}).python3.withPackages
|
2024-03-10 01:03:30 +01:00
|
|
|
(ps: [
|
|
|
|
ps.arkheon
|
|
|
|
ps.daphne
|
|
|
|
ps.psycopg2
|
|
|
|
]);
|
2024-03-08 11:54:59 +01:00
|
|
|
|
2024-03-08 11:54:59 +01:00
|
|
|
domain = "arkheon.dgnum.eu";
|
|
|
|
|
|
|
|
nginx = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
envFile = config.age.secrets."arkheon-env_file".path;
|
|
|
|
};
|
|
|
|
}
|