This commit is contained in:
mjallen18
2025-02-07 14:17:02 -06:00
parent 90ba19c057
commit 810f7be32a
5 changed files with 42 additions and 17 deletions

View File

@@ -44,6 +44,9 @@ in
{
imports = [ ../../../../share/nvidia ];
nixpkgs.config.allowUnfree = true;
networking.extraHosts = ''
10.0.1.18 host.containers protonmail-bridge
'';
services = {
nextcloud = {
@@ -196,20 +199,22 @@ in
};
};
networking.nat = {
forwardPorts = [
{
destination = "10.0.2.18:443";
sourcePort = 9943;
}
{
destination = "10.0.2.18:80";
sourcePort = 9988;
}
{
destination = "10.0.2.18:8000";
sourcePort = 8000;
}
];
networking = {
nat = {
forwardPorts = [
{
destination = "10.0.2.18:443";
sourcePort = 9943;
}
{
destination = "10.0.2.18:80";
sourcePort = 9988;
}
{
destination = "10.0.2.18:8000";
sourcePort = 8000;
}
];
};
};
}