From 10f1097121512a8ebca1d492a66f26ee95693902 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 23 May 2018 18:01:50 +0200 Subject: machines/mikiya: add ethernet dev kernel module to initrd --- machines/profpatsch/mikiya.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/profpatsch/mikiya.nix b/machines/profpatsch/mikiya.nix index 8432c8f1..ac6203db 100644 --- a/machines/profpatsch/mikiya.nix +++ b/machines/profpatsch/mikiya.nix @@ -39,11 +39,14 @@ in { ssh.authorizedKeys = myLib.authKeys; # we wait until the root device is unlocked (by ssh) postCommands = '' + echo "Waiting for ssh unlock of ${rootDevice} (infinitely) while [ ! -e ${rootDevice} ]; do sleep 1; done ''; }; availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" + # used for ethernet device(s) + "r8169" ]; # decrypt root device -- cgit 1.4.1