Fediversity/infra/machines/fedi201/fedipanel.nix

31 lines
496 B
Nix

{
config,
...
}:
let
name = "panel";
in
{
imports = [
(import ../../../panel { }).module
];
nix.settings = {
extra-experimental-features = "configurable-impure-env";
};
security.acme = {
acceptTerms = true;
defaults.email = "beheer@procolix.com";
};
services.${name} = {
enable = true;
production = true;
domain = "demo.fediversity.eu";
secrets = {
SECRET_KEY = config.age.secrets.panel-secret-key.path;
};
port = 8000;
};
}