feat: Remove older traces of homeassistant

This commit is contained in:
uttarayan21
2025-07-30 06:58:25 +05:30
parent dab341fc63
commit daa67bc3e6
4 changed files with 28 additions and 74 deletions

View File

@@ -1,28 +0,0 @@
{
pkgs,
lib,
...
}: {
environment.systemPackages = [pkgs.arion pkgs.docker-client];
virtualisation.docker.enable = lib.mkForce false;
virtualisation.podman.enable = true;
virtualisation.podman.dockerSocket.enable = true;
# users.extraUsers.servius.extraGroups = ["podman"];
# networking.firewall.allowedTCPPorts = [21063 21064];
# networking.firewall.allowedUDPPorts = [5353];
virtualisation.arion = {
backend = "docker";
projects = {
homeassistant.settings.services = {
homeassistant = {
service.image = "ghcr.io/home-assistant/home-assistant:stable";
service.volumes = ["/etc/localtime:/etc/localtime:ro" "/run/dbus:/run/dbus:ro" "/var/lib/homeassistant:/config"];
service.privileged = true;
service.network_mode = "host";
service.restart = "unless-stopped";
};
};
};
};
}