From c2a0fb400b3c92df70d68afcfabb35655d580a54 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 7 Sep 2023 20:27:08 +0200 Subject: [PATCH] ssh unlock --- modules/fde-ssh-unlock.nix | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/modules/fde-ssh-unlock.nix b/modules/fde-ssh-unlock.nix index c692533..ab45c00 100644 --- a/modules/fde-ssh-unlock.nix +++ b/modules/fde-ssh-unlock.nix @@ -1,12 +1,6 @@ { config, pkgs, ... }: { - # TODO - - # # Kernel - # # boot.kernelPackages = pkgs.linuxPackages_latest; - # # boot.kernelPackages = pkgs.linuxPackages_hardened; - # SSH in initrd boot.initrd.network.enable = true; boot.initrd.network.ssh = { @@ -26,25 +20,9 @@ # Or check the "Network" part of: # inxi -F # - boot.initrd.availableKernelModules = [ "r8169" ]; - #boot.extraModulePackages = with config.boot.kernelPackages; [ - # r8152 - #]; - # boot.initrd.kernelModules = [ - # # Arch wiki: Mkinitcpio MODULES: USB 3 hub - # "usbhid" - # "xhci_hcd" + boot.initrd.availableKernelModules = [ "r8169" ]; # TODO: This value is valid for yodaTux only # - # # Realtek RTL8152/RTL8153 Based USB Ethernet Adapters - # "r8152" - # - # #"usbcore" - # # MII hardware support library - # #"mii" - # # USB HID core driver - # #"usbhid" - # ]; - # # dmesg -> enp0s20f0u1u2: renamed from eth0 - # boot.kernelParams = [ "ip=:::::eth0:dhcp" ]; + # dmesg -> enp0s20f0u1u2: renamed from eth0 + #boot.kernelParams = [ "ip=:::::eth0:dhcp" ]; boot.kernelParams = [ "ip=dhcp" ]; }