basic nginx setup

This commit is contained in:
CDaut 2025-10-31 15:26:08 +01:00
parent 800b243448
commit 7113bb629a
Signed by: clara
GPG key ID: 223391B52FAD4463
5 changed files with 116 additions and 55 deletions

View file

@ -0,0 +1,23 @@
{ lib, pkgs, config, ... }: {
deployment = {
targetHost = "10.0.0.2";
targetPort = 22;
targetUser = "root";
};
networking = {
hostName = "nginx";
interfaces.eth0 = {
ipAddress = "10.0.0.2";
prefixLength = 16;
};
defaultGateway = {
address = "10.0.0.254";
interface = "eth0";
};
};
imports = [
../container_config.nix
../services/nginx.nix
];
}