diff --git a/hosts/hyp-01/modules/networking.nix b/hosts/hyp-01/modules/networking.nix index ecfd10e..1c74e4a 100644 --- a/hosts/hyp-01/modules/networking.nix +++ b/hosts/hyp-01/modules/networking.nix @@ -44,6 +44,18 @@ boot.initrd.network = { enable = true; + + arguments = with config.networking.hyp-01; [ + "ip=${ipv4.address}::${ipv4.gateway}:255.255.255.192::eth0:off" + ]; + + ssh = { + enable = true; + port = 2222; + authorizedKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnthKtz0fE4yQ/X10cJgKVCjYCNkRNoqV28xAhD7h2M cardno:22_498_026" + ]; + }; }; boot.initrd.kernelModules = [ "igb" ];