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