2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|