diff --git a/hosts/tyr/configuration.nix b/hosts/tyr/configuration.nix index 871338a..bbf5267 100644 --- a/hosts/tyr/configuration.nix +++ b/hosts/tyr/configuration.nix @@ -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}"; diff --git a/modules/servers/tyr/home-assistant.nix b/modules/servers/tyr/home-assistant.nix index 4761bee..386483c 100644 --- a/modules/servers/tyr/home-assistant.nix +++ b/modules/servers/tyr/home-assistant.nix @@ -22,6 +22,7 @@ "/var/lib/homeassistant:/config" "/run/dbus:/run/dbus:ro" ]; + podman.user = "crony"; }; services.restic.backups = {