refactor(services/selfhosts): adding the format to nix files
This commit is contained in:
parent
76eb961891
commit
93d7fabef5
4 changed files with 89 additions and 71 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
gitDomain = "git.enium.eu";
|
gitDomain = "git.enium.eu";
|
||||||
|
|
|
||||||
|
|
@ -84,14 +84,22 @@ in
|
||||||
chroot = false;
|
chroot = false;
|
||||||
command = "smtpd";
|
command = "smtpd";
|
||||||
args = [
|
args = [
|
||||||
"-o" "smtpd_recipient_restrictions=permit_sasl_authenticated,reject"
|
"-o"
|
||||||
"-o" "smtpd_sasl_auth_enable=yes"
|
"smtpd_recipient_restrictions=permit_sasl_authenticated,reject"
|
||||||
"-o" "smtpd_sasl_security_options=noanonymous"
|
"-o"
|
||||||
"-o" "smtpd_sender_login_maps=hash:/var/lib/postfix/sender_login"
|
"smtpd_sasl_auth_enable=yes"
|
||||||
"-o" "smtpd_sender_restrictions=reject_sender_login_mismatch"
|
"-o"
|
||||||
"-o" "smtpd_tls_auth_only=yes"
|
"smtpd_sasl_security_options=noanonymous"
|
||||||
"-o" "smtpd_tls_security_level=encrypt"
|
"-o"
|
||||||
"-o" "syslog_name=postfix/submission"
|
"smtpd_sender_login_maps=hash:/var/lib/postfix/sender_login"
|
||||||
|
"-o"
|
||||||
|
"smtpd_sender_restrictions=reject_sender_login_mismatch"
|
||||||
|
"-o"
|
||||||
|
"smtpd_tls_auth_only=yes"
|
||||||
|
"-o"
|
||||||
|
"smtpd_tls_security_level=encrypt"
|
||||||
|
"-o"
|
||||||
|
"syslog_name=postfix/submission"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.service.selfhost.nextcloud;
|
cfg = config.service.selfhost.nextcloud;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue