feat(tyr): run home assistant as regular user.
This commit is contained in:
parent
d2deaeb836
commit
e2a682e25b
2 changed files with 2 additions and 0 deletions
|
|
@ -97,6 +97,7 @@
|
|||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.crony = {
|
||||
linger = true;
|
||||
isNormalUser = true;
|
||||
description = "Crony";
|
||||
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
"/var/lib/homeassistant:/config"
|
||||
"/run/dbus:/run/dbus:ro"
|
||||
];
|
||||
podman.user = "crony";
|
||||
};
|
||||
|
||||
services.restic.backups = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue