forked from DGNum/infrastructure
Tom Hubrecht
ecbad0a638
This adds subdirectories for the different types of systems, for the modules and the machines
28 lines
572 B
Nix
28 lines
572 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;
|
|
};
|
|
}
|