SHA256
1
0

Add scripts to role

This commit is contained in:
2026-01-29 01:06:09 -05:00
parent 62c413d42d
commit b5e082e400
23 changed files with 8 additions and 23 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# One-liner to deploy containerized home-assistant
podman run -d --name="home-assistant" -v ~/.config/home-assistant:/config -v /etc/localtime:/etc/localtime:ro --net=host docker.io/homeassistant/home-assistant:stable &&
podman generate systemd --name "home-assistant" --container-prefix "" --separator "" > ~/.config/systemd/user/home-assistant.service &&
systemctl --user daemon-reload &&
systemctl --user enable --now home-assistant