This commit is contained in:
Lucy Hochkamp 2024-04-02 16:15:31 +02:00
parent aed461750e
commit 626cf8adba
No known key found for this signature in database
2 changed files with 15 additions and 17 deletions

View file

@ -36,10 +36,9 @@ with lib;
(server: _: nameValuePair ("container@${container server}") ({ requires = [ "network-addresses-${bridgeExt}.service" ]; })) (server: _: nameValuePair ("container@${container server}") ({ requires = [ "network-addresses-${bridgeExt}.service" ]; }))
cfg.config cfg.config
); );
containers = imap0 containers = builtins.listToAttrs (imap0
(i: name: { (i: name: nameValuePair name
name = name; {
value = {
autoStart = true; autoStart = true;
ephemeral = true; ephemeral = true;
enableTun = true; enableTun = true;
@ -67,9 +66,8 @@ with lib;
}; };
}; };
};
}) })
(builtins.attrNames cfg.config); (builtins.attrNames cfg.config));