Install NixOS on Hetzner Online: Difference between revisions

imported>Makefu
Add alternative way to handle networking via networking.interfaces
imported>Mic92
ipv4 example for networkd
Line 28: Line 28:
       Address = 2a01:4f9:ffff::1/64
       Address = 2a01:4f9:ffff::1/64
       Gateway = fe80::1
       Gateway = fe80::1
      # optionally you can do the same for ipv4 and disable DHCP (networking.dhcpcd.enable = false;)
      # Address =  144.x.x.x/26
      # Gateway = 144.x.x.1
     '';
     '';
   };
   };