1

Modules/Docker: Fix invalid systemd services generation for docker networks

This commit is contained in:
2025-07-10 02:11:26 +02:00
parent e4ab000f30
commit 5d61740724
5 changed files with 46 additions and 35 deletions

View File

@ -9,12 +9,18 @@
docker.rootless = lib.mkEnableOption "Use rootless docker (no effect if podman is used)";
networks = lib.mkOption {
type = lib.types.attrsOf (lib.types.submodule ({
type = lib.types.listOf (lib.types.submodule ({
lib,
mylib,
...
}: {
options = {
name = lib.mkOption {
type = lib.types.str;
description = "The name of the docker/podman network";
example = "behind-nginx";
};
disable_masquerade = lib.mkEnableOption "Disable IP masquerading for this network";
ipv6 = {