forgejo, outline
This commit is contained in:
parent
365e1dcddb
commit
d3cb19d6f1
2 changed files with 94 additions and 10 deletions
|
|
@ -1,24 +1,32 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
|
||||
outline = {
|
||||
hostname = "outline.${config.networking.domain}";
|
||||
mail = "outline@${config.networking.domain}";
|
||||
};
|
||||
|
||||
in {
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# openssl
|
||||
# ];
|
||||
|
||||
services.outline = {
|
||||
|
||||
enable = true;
|
||||
publicUrl = "https://${outline.hostname}";
|
||||
storage.storageType = "local";
|
||||
publicUrl = "https://outline.${config.networking.domain}";
|
||||
defaultLanguage = "de_DE";
|
||||
storage.storageType = "local";
|
||||
|
||||
# smtp = {
|
||||
# username = "kein_schlussstrich_hessen@systemli.org";
|
||||
# passwordFile = "/var/custom-access/outline-smtp-password.txt";
|
||||
# fromEmail = "kein_schlussstrich_hessen@systemli.org";
|
||||
# replyEmail = config.services.outline.smtp.fromEmail;
|
||||
# host = "mail.systemli.org";
|
||||
# # secure = false;
|
||||
# port = 465;
|
||||
# };
|
||||
|
||||
smtp = {
|
||||
username = "outline";
|
||||
passwordFile = "/dev/null";
|
||||
fromEmail = outline.mail;
|
||||
fromEmail = "outline@${config.networking.domain}";
|
||||
replyEmail = config.services.outline.smtp.fromEmail;
|
||||
host = "localhost";
|
||||
secure = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue