feat(tyr): run home assistant as regular user.

This commit is contained in:
CronyAkatsuki 2025-11-01 13:50:18 +01:00
parent d2deaeb836
commit e2a682e25b
2 changed files with 2 additions and 0 deletions

View file

@ -97,6 +97,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.crony = { users.users.crony = {
linger = true;
isNormalUser = true; isNormalUser = true;
description = "Crony"; description = "Crony";
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";

View file

@ -22,6 +22,7 @@
"/var/lib/homeassistant:/config" "/var/lib/homeassistant:/config"
"/run/dbus:/run/dbus:ro" "/run/dbus:/run/dbus:ro"
]; ];
podman.user = "crony";
}; };
services.restic.backups = { services.restic.backups = {