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
+3 -1
View File
@@ -8,11 +8,13 @@ let
# Helper
helper = import ./lib.nix { inherit config pkgs lib; };
cfg = config.numbus.services.pi-hole;
# Container config
name = "pi-hole";
in
helper.mkPodmanService {
inherit name;
description = "Pi-Hole, the ads black hole";
name = "pi-hole";
defaultPort = "4443";
scheme = "https";
dependencies = [ "network.target" "multi-user.target" ];