host: Add nvr2.p.b

*nvr2.pyrocufflink.blue* runs Frigate video recording software.
master
Dustin 2024-04-05 15:45:35 -05:00
parent aeddab46ff
commit d432c673e9
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package nvr2
import (
"du5t1n.me/cfg/env/prod"
"du5t1n.me/cfg/app/nut/schema"
)
ssh: prod.ssh
sudo: prod.sudo
promtail: prod.#promtail
nut: monitor: schema.#NutMonitor
nut: monitor: prod.#nut_monitor & {
#username: "nvr2"
}
frigate: prod.frigate

View File

@ -0,0 +1,3 @@
. scripts/no-coreos-default-sudo.sh
systemctl start frigate frigate-watchdog

View File

@ -0,0 +1,5 @@
#!/bin/sh
. scripts/pam-ssh-agent-auth.sh
install_packages

View File

@ -0,0 +1,18 @@
package nvr2
import (
"list"
"du5t1n.me/cfg/app/nut"
"du5t1n.me/cfg/app/promtail"
"du5t1n.me/cfg/app/frigate"
"du5t1n.me/cfg/env/prod"
)
render: list.Concat([
prod.templates,
promtail.templates,
nut.sysusers.templates,
nut.monitor.templates,
frigate.templates,
])