Fixed undefined variable : name when addind extraConfig.

This commit is contained in:
Raphaël Numbus
2026-02-25 12:18:13 +01:00
parent 475e37d559
commit ae18febf6d
9 changed files with 29 additions and 9 deletions
+5 -1
View File
@@ -3,15 +3,19 @@
with lib;
let
# Version tagging
homeAssistantVersion = "2026.2.3";
mqttVersion = "2.1-alpine";
# Helper
helper = import ./lib.nix { inherit config pkgs lib; };
cfg = config.numbus.services.home-assistant;
# Container config
name = "home-assistant";
in
helper.mkPodmanService {
inherit name;
description = "Home Assistant, libre house control and much more";
name = "home-assistant";
pod = "home-assistant";
defaultPort = "8123";
dataDirEnabled = false;