Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 384f8cf1ce | |||
| d753c34e37 |
@@ -57,10 +57,10 @@ helper.mkPodmanService {
|
||||
environment:
|
||||
- FRIGATE_MQTT_USER=$HOME_ASSISTANT_MQTT_USER
|
||||
- FRIGATE_MQTT_PASSWORD=$HOME_ASSISTANT_MQTT_PASSWORD
|
||||
${lib.optionalString (cfg.devices != []) ''
|
||||
${lib.optionalString (cfg.devices != []) ''
|
||||
devices:
|
||||
${lib.concatStringsSep "\n" (map (d: " - \"${d}\"") cfg.devices)}
|
||||
''}
|
||||
${lib.concatStringsSep "\n" (map (d: " - \"${d}\"") cfg.devices)}
|
||||
''}
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
|
||||
@@ -44,10 +44,10 @@ helper.mkPodmanService {
|
||||
- ${cfg.configDir}/config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /run/dbus:/run/dbus:ro
|
||||
${lib.optionalString (cfg.devices != []) ''
|
||||
${lib.optionalString (cfg.devices != []) ''
|
||||
devices:
|
||||
${lib.concatStringsSep "\n" (map (d: " - \"${d}\"") cfg.devices)}
|
||||
''}
|
||||
${lib.concatStringsSep "\n" (map (d: " - \"${d}\"") cfg.devices)}
|
||||
''}
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
|
||||
@@ -54,10 +54,7 @@ helper.mkPodmanService {
|
||||
${lib.concatStringsSep "" (lib.mapAttrsToList (name: service:
|
||||
if builtins.isAttrs service && service ? enable && service.enable && service ? subdomain then
|
||||
" ${config.numbus.networking.ipAddress} ${service.subdomain}.${config.numbus.services.domain}\n"
|
||||
else
|
||||
""
|
||||
) config.numbus.services)}
|
||||
|
||||
) config.numbus.services)}
|
||||
FTLCONF_dns_listeningMode: "BIND"
|
||||
FTLCONF_dns_domain_name: "${config.numbus.services.domain}"
|
||||
FTLCONF_dns_domain_local: "true"
|
||||
|
||||
Reference in New Issue
Block a user