parent
487fb3f0bf
commit
19a7476278
1 changed files with 8 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.services.skynet_gitlab;
|
cfg = config.services.skynet_gitlab;
|
||||||
|
|
||||||
|
domain_base = "${cfg.domain.base}.${cfg.domain.tld}";
|
||||||
|
domain_full = "${cfg.domain.sub}.${domain_base}";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./acme.nix
|
./acme.nix
|
||||||
|
@ -146,7 +149,11 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# set a valid HELO address
|
# set a valid HELO address
|
||||||
services.postfix.hostname = lib.mkForce "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}";
|
services.postfix = {
|
||||||
|
hostname = lib.mkForce domain_full;
|
||||||
|
origin = lib.mkForce domain_full;
|
||||||
|
domain = lib.mkForce domain_base;
|
||||||
|
};
|
||||||
|
|
||||||
services.gitlab = {
|
services.gitlab = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue