test
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{nodes, ...}:{
|
||||
{nodes, ...}:let
|
||||
sin-address = "192.168.1.14";
|
||||
in{
|
||||
imports = [
|
||||
./virtualisation.nix
|
||||
];
|
||||
networking.nat.forwardPorts = [{
|
||||
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
|
||||
proto = "tcp";
|
||||
destination = "10.0.0.4:22";
|
||||
destination = "${sin-address}:22";
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
name = "config.yml";
|
||||
text = ''
|
||||
container:
|
||||
network: "bridge"
|
||||
network: "host"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
|
||||
Reference in New Issue
Block a user