From 302ae0a8dc8d968df588563dd8346ac86c2ad60b Mon Sep 17 00:00:00 2001 From: goeranh Date: Sat, 28 Feb 2026 15:06:57 +0100 Subject: [PATCH] git works now --- hosts/git/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/hosts/git/default.nix b/hosts/git/default.nix index 7673e79..66ced27 100644 --- a/hosts/git/default.nix +++ b/hosts/git/default.nix @@ -2,23 +2,28 @@ config, lib, pkgs, + modulesPath, ... }: { imports = [ - ./hardware-configuration.nix + "${modulesPath}/virtualisation/proxmox-lxc.nix" ]; networking = { 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; } ]; - defaultGateway.address = "141.56.51.254"; + defaultGateway = { + address = "141.56.51.254"; + interface = "eth0"; + }; firewall.allowedTCPPorts = [ 80 443 @@ -62,6 +67,6 @@ }; - system.stateVersion = "24.11"; + system.stateVersion = "25.11"; }