Tom Hubrecht
2a388f53ac
All checks were successful
build configuration / build_web02 (push) Successful in 1m8s
build configuration / build_vault01 (push) Successful in 1m9s
build configuration / build_rescue01 (push) Successful in 1m8s
build configuration / build_storage01 (push) Successful in 1m13s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 1m35s
build configuration / build_compute01 (push) Successful in 2m38s
30 lines
600 B
Nix
30 lines
600 B
Nix
{ config, sources, ... }:
|
|
|
|
{
|
|
nixpkgs.overlays = [ (import (sources.arkheon.outPath + "/overlay.nix")) ];
|
|
|
|
services.arkheon = {
|
|
enable = true;
|
|
|
|
pythonEnv =
|
|
(import sources.nixos-unstable {
|
|
overlays = [ (import (sources.arkheon.outPath + "/overlay.nix")) ];
|
|
}).python3.withPackages
|
|
(
|
|
ps: [
|
|
ps.arkheon
|
|
ps.daphne
|
|
ps.psycopg2
|
|
]
|
|
);
|
|
|
|
domain = "arkheon.dgnum.eu";
|
|
|
|
nginx = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
};
|
|
|
|
envFile = config.age.secrets."arkheon-env_file".path;
|
|
};
|
|
}
|