nixos-systems/sovr/etc/nixos
Eli Ribble 3993b526a5 Convert from cloud-init networking to static networking
This is honestly pretty ugly. The issue is that I want two different
IPv6 addresses on this server. I get one address for free as part of my
hosting agreement. The other I have to pay $0.01 per month for. The
address is routable, but it's not provided via cloud-init like the
initial address.

I therefore took the data from /var/lib/cloud/instance/network-config.json
and translated it into this configuration manually. It's dangerous - I
don't know when any of this information may change.

However, it works, and both addresses are now bound to eth0.

Notice that I set the network configuration name to "09-wan". This is
because the previous configuration using cloud-init created a network
configuration at /etc/systemd/network/10-cloud-init that has to be
manually removed or superseded.
2025-01-22 00:40:43 -07:00
..
home/eliribble/config Add personal config files through home-manager 2025-01-13 06:26:32 -07:00
configuration.nix Convert from cloud-init networking to static networking 2025-01-22 00:40:43 -07:00
flake.lock Fix error around --impure 2025-01-21 23:31:00 -07:00
flake.nix Fix error around --impure 2025-01-21 23:31:00 -07:00
hardware-configuration.nix Add initial working just.hosting cloud config 2024-12-27 05:50:43 -07:00
home.nix Fix error around --impure 2025-01-21 23:31:00 -07:00