From 67dabb0de5b787743b004c8080fe91f4c102eec6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 2 Apr 2023 12:16:00 +0200 Subject: [PATCH] fuuko: Note that remote unlocking is broken --- machines/fuuko/hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/machines/fuuko/hardware-configuration.nix b/machines/fuuko/hardware-configuration.nix index 68eb561..5cbec3b 100644 --- a/machines/fuuko/hardware-configuration.nix +++ b/machines/fuuko/hardware-configuration.nix @@ -13,7 +13,10 @@ options gigabyte_wmi force_load=1 ''; supportedFilesystems = [ "btrfs" ]; - kernelParams = [ "ip=dhcp" ]; + # FIXME this doesn’t work because (AFAIK) there is no VLAN support in the ip= parameter + kernelParams = [ + (with config.systemd.network.networks; "ip=${lib.elemAt lan.address 0}::::${config.networking.hostName}:${physical.name}") + ]; initrd = { availableKernelModules = [ "aesni_intel" # hardware crypto for luks