infrastructure/machines/nixos/compute01/arkheon.nix

29 lines
572 B
Nix
Raw Normal View History

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
(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;
};
}