git works now

This commit is contained in:
goeranh 2026-02-28 15:06:57 +01:00
parent d537d7b20f
commit 302ae0a8dc
No known key found for this signature in database

View file

@ -2,23 +2,28 @@
config, config,
lib, lib,
pkgs, pkgs,
modulesPath,
... ...
}: }:
{ {
imports = [ imports = [
./hardware-configuration.nix "${modulesPath}/virtualisation/proxmox-lxc.nix"
]; ];
networking = { networking = {
hostName = "git"; hostName = "git";
interfaces.ens18.ipv4.addresses = [ fqdn = "git.adm.htw.stura-dresden.de";
interfaces.eth0.ipv4.addresses = [
{ {
address = "141.56.51.97"; address = "141.56.51.7";
prefixLength = 24; prefixLength = 24;
} }
]; ];
defaultGateway.address = "141.56.51.254"; defaultGateway = {
address = "141.56.51.254";
interface = "eth0";
};
firewall.allowedTCPPorts = [ firewall.allowedTCPPorts = [
80 80
443 443
@ -62,6 +67,6 @@
}; };
system.stateVersion = "24.11"; system.stateVersion = "25.11";
} }