Begin the move to the import all, activate by config model

This commit is contained in:
Jimbo 2024-11-04 22:41:38 -05:00
parent 7397b614de
commit 07cb2d67a2
97 changed files with 776 additions and 633 deletions

View file

@ -1,8 +1,6 @@
{ config, ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
services.lemmy = {
enable = true;

View file

@ -1,8 +1,6 @@
{ pkgs, config, ... }:
{ config, ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
nixpkgs.config.element-web.conf = {
default_server_config = {

View file

@ -1,8 +1,6 @@
{ config, ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
services = {
coturn = {

View file

@ -6,8 +6,8 @@
SYNCV3_SERVER = "https://matrix.${config.domains.jim1}";
SYNCV3_BINDADDR = "0.0.0.0:8009";
};
environmentFile = "${pkgs.writeText "matrixsecret" ''
environmentFile = pkgs.writeText "matrixsecret" ''
SYNCV3_SECRET=${config.secrets.matrixSecret}
''}";
'';
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
services.owncast = {
enable = true;