This commit is contained in:
2023-12-03 21:45:19 +01:00
parent 09379f901a
commit 31e3b526f1

View File

@@ -103,7 +103,7 @@ in
# macvlans = [ "vserver" ];
privateNetwork = true;
hostBridge = "server";
localAddress = "10.42.97.1/24";
localAddress = "10.42.97.2/24";
bindMounts = {
"/var/lib/gitea" = {
hostPath = "/var/lib/gitea/";
@@ -118,10 +118,10 @@ in
};
config = { lib, config, pkgs, ... }: {
networking = {
hostName = "fw";
hostName = "gitea";
interfaces.eth0 = {
useDHCP = true;
ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
# ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
};
# firewall = {
# enable = true;