ssh unlock

This commit is contained in:
Daniel Langbein 2023-09-07 20:27:08 +02:00
parent cc407ddda7
commit 5c67d40e24

View File

@ -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" ];
}