git works now
This commit is contained in:
parent
d537d7b20f
commit
302ae0a8dc
1 changed files with 10 additions and 5 deletions
|
|
@ -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";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue