Compare commits
1 commit
03571c00d5
...
31430b0a1a
Author | SHA1 | Date | |
---|---|---|---|
31430b0a1a |
1 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
linuxConfig = lib.optionalAttrs isLinux {
|
linuxConfig = lib.optionalAttrs (isLinux && config.settei.containers != {}) {
|
||||||
containers = lib.mapAttrs (
|
containers = lib.mapAttrs (
|
||||||
_: container:
|
_: container:
|
||||||
container
|
container
|
||||||
|
@ -96,7 +96,7 @@ let
|
||||||
}
|
}
|
||||||
) config.settei.containers;
|
) config.settei.containers;
|
||||||
|
|
||||||
networking.nat = lib.mkIf (config.settei.containers != { }) {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
internalInterfaces = ["ve-+"];
|
internalInterfaces = ["ve-+"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue