commit 9324377d43b3b7634f17b3dee2cce4b360e585ef parent 49801e0c6329d0ad395f89451f930ada4691b808 Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 9 Aug 2023 12:03:52 +0200 Fix the config for worker-1 Diffstat:
| M | nixos/worker-1/configuration.nix | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -121,7 +121,7 @@ efi.canTouchEfiVariables = true; }; # TODO: Fix - boot.kernelParams = [ "ip=95.217.202.35/26 gk.net.gw=95.217.202.1 gk.net.iface=a8:a1:59:0f:23:1f" ]; + boot.kernelParams = [ "ip=dhcp" ]; boot.initrd = { nework.enable = true; @@ -143,8 +143,7 @@ # prompt that writes to /tmp/continue if successful. network.postCommands = let - # TODO: I use a LUKS 2 label. Replace this with your disk device's path. - disk = "/dev/disk/by-label/crypt"; + disk = "/dev/disk/by-uuid/7116e0c2-b7f5-4960-a283-b4a958213bcd"; in '' echo 'cryptsetup open ${disk} root --type luks && echo > /tmp/continue' >> /root/.profile