networking: Set up static IP address

This commit is contained in:
Tristan Daniël Maat 2023-04-23 15:46:38 +01:00
parent 317cdf0039
commit acd7cc802b
Signed by: tlater
GPG key ID: 49670FD774E43268
3 changed files with 47 additions and 2 deletions
configuration/hardware-specific

View file

@ -11,6 +11,11 @@
# Use the staging secrets
sops.defaultSopsFile = lib.mkOverride 99 ../../keys/staging.yaml;
systemd.network.networks."10-eth0" = {
matchConfig.Name = "eth0";
networkConfig.DHCP = "yes";
};
# # Set up VM settings to match real VPS
# virtualisation.memorySize = 3941;
# virtualisation.cores = 2;