mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(samba): tls
This commit is contained in:
parent
34d1b400e1
commit
fbf96aacef
5 changed files with 202 additions and 25 deletions
|
|
@ -98,6 +98,14 @@ in {
|
|||
(mkIf config.services.tailscale.enable "mqtt.tail.${config.networking.domain}")
|
||||
];
|
||||
};
|
||||
samba = {
|
||||
domain = "smb.${config.networking.domain}";
|
||||
extraDomainNames = [
|
||||
"smb.local.${config.networking.domain}"
|
||||
"smb.int.${config.networking.domain}"
|
||||
(mkIf config.services.tailscale.enable "smb.tail.${config.networking.domain}")
|
||||
];
|
||||
};
|
||||
sso = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.keycloak.serverName;
|
||||
|
|
@ -307,6 +315,9 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
services.samba.tls = {
|
||||
useACMECert = "samba";
|
||||
};
|
||||
|
||||
services.tailscale.advertiseExitNode = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue