diff --git a/lib/luj.nix b/lib/luj.nix index 8bbac84..904b125 100644 --- a/lib/luj.nix +++ b/lib/luj.nix @@ -116,6 +116,13 @@ let arch = "x86_64-linux"; nixpkgs_version = inputs.nixpkgs; hm_version = inputs.home-manager; + ipv4 = { + public = "82.67.34.230"; + local = "192.168.0.90"; + }; + ipv6 = { + public = "2a01:e0a:de4:a0e1:eb2:aaaa::45"; + }; }; core-security = { diff --git a/machines/gustave/default.nix b/machines/gustave/default.nix index ea66625..df0d3b0 100644 --- a/machines/gustave/default.nix +++ b/machines/gustave/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: { imports = [ @@ -11,8 +11,6 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - deployment.targetHost = lib.mkForce "192.168.0.126"; - disko = import ./disko.nix; systemd.network.enable = true; @@ -25,7 +23,7 @@ # start a DHCP Client for IPv4 Addressing/Routing DHCP = "ipv4"; # accept Router Advertisements for Stateless IPv6 Autoconfiguraton (SLAAC) - IPv6AcceptRA = true; + Address = "2a01:e0a:de4:a0e1:eb2:aaaa::45"; }; # make routing on this interface a dependency for network-online.target linkConfig.RequiredForOnline = "routable";