ssh unlock

This commit is contained in:
Daniel Langbein 2023-09-07 20:27:08 +02:00
parent 5598f906af
commit c2a0fb400b

View File

@ -1,12 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# TODO
# # Kernel
# # boot.kernelPackages = pkgs.linuxPackages_latest;
# # boot.kernelPackages = pkgs.linuxPackages_hardened;
# SSH in initrd # SSH in initrd
boot.initrd.network.enable = true; boot.initrd.network.enable = true;
boot.initrd.network.ssh = { boot.initrd.network.ssh = {
@ -26,25 +20,9 @@
# Or check the "Network" part of: # Or check the "Network" part of:
# inxi -F # inxi -F
# #
boot.initrd.availableKernelModules = [ "r8169" ]; boot.initrd.availableKernelModules = [ "r8169" ]; # TODO: This value is valid for yodaTux only
#boot.extraModulePackages = with config.boot.kernelPackages; [
# r8152
#];
# boot.initrd.kernelModules = [
# # Arch wiki: Mkinitcpio MODULES: USB 3 hub
# "usbhid"
# "xhci_hcd"
# #
# # Realtek RTL8152/RTL8153 Based USB Ethernet Adapters # dmesg -> enp0s20f0u1u2: renamed from eth0
# "r8152"
#
# #"usbcore"
# # MII hardware support library
# #"mii"
# # USB HID core driver
# #"usbhid"
# ];
# # dmesg -> enp0s20f0u1u2: renamed from eth0
#boot.kernelParams = [ "ip=:::::eth0:dhcp" ]; #boot.kernelParams = [ "ip=:::::eth0:dhcp" ];
boot.kernelParams = [ "ip=dhcp" ]; boot.kernelParams = [ "ip=dhcp" ];
} }