summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cirrus/nextcloud-proxy.nix12
-rw-r--r--hosts/cirrus/wireguard-server.nix8
-rw-r--r--hosts/dishwasher/microvms.nix4
3 files changed, 24 insertions, 0 deletions
diff --git a/hosts/cirrus/nextcloud-proxy.nix b/hosts/cirrus/nextcloud-proxy.nix
index 7a4fa67..3b5166a 100644
--- a/hosts/cirrus/nextcloud-proxy.nix
+++ b/hosts/cirrus/nextcloud-proxy.nix
@@ -48,5 +48,17 @@
};
};
};
+ "news.oxapentane.com" = {
+ enableACME = true;
+ forceSSL = true;
+ extraConfig = ''
+ client_max_body_size 32M;
+ '';
+ locations = {
+ "/" = {
+ proxyPass = "http://10.34.45.102:8080";
+ };
+ };
+ };
};
}
diff --git a/hosts/cirrus/wireguard-server.nix b/hosts/cirrus/wireguard-server.nix
index d9fc754..526e8db 100644
--- a/hosts/cirrus/wireguard-server.nix
+++ b/hosts/cirrus/wireguard-server.nix
@@ -95,6 +95,14 @@
PersistentKeepalive = 25;
};
}
+ # news
+ {
+ wireguardPeerConfig = {
+ PublicKey = "guzNmsPcQw4EGSLU3X0SP+WPKAcoMc+xv9SLWdHV1V0=";
+ AllowedIPs = [ "10.34.45.102/32" ];
+ PersistentKeepalive = 25;
+ };
+ }
];
};
networks."oxaproxy" = {
diff --git a/hosts/dishwasher/microvms.nix b/hosts/dishwasher/microvms.nix
index e395f10..e5cc7c8 100644
--- a/hosts/dishwasher/microvms.nix
+++ b/hosts/dishwasher/microvms.nix
@@ -8,5 +8,9 @@
flake = inputs.self;
updateFlake = "github:oxapentane/nix-config/master";
};
+ news = {
+ flake = inputs.self;
+ updateFlake = "github:oxapentane/nix-config/master";
+ };
};
}