From e2a682e25b2fa2d80cd547d89e540196f8936543 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 1 Nov 2025 13:50:18 +0100 Subject: [PATCH] feat(tyr): run home assistant as regular user. --- hosts/tyr/configuration.nix | 1 + modules/servers/tyr/home-assistant.nix | 1 + 2 files changed, 2 insertions(+) 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 = {