diff --git a/nixos/server/element.nix b/nixos/server/element.nix index 723a47a..fa1d2fe 100644 --- a/nixos/server/element.nix +++ b/nixos/server/element.nix @@ -1,8 +1,8 @@ -let +{pkgs, ...}: let secrets = import ../modules/secrets.nix; in { # Configure the Element web server - nixpkgs.config.element-web.conf { + nixpkgs.config.element-web.conf = { default_server_config = { "m.homeserver" = { base_url = "https://matrix.${secrets.jimDomain}"; diff --git a/nixos/server/lemmy.nix b/nixos/server/lemmy.nix index 21d7d79..fd8a7fb 100644 --- a/nixos/server/lemmy.nix +++ b/nixos/server/lemmy.nix @@ -2,7 +2,7 @@ let secrets = import ../modules/secrets.nix; in { services = { - lemmy { + lemmy = { enable = true; nginx.enable = true; database.createLocally = true;