mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
ssh unlock
This commit is contained in:
parent
cc407ddda7
commit
5c67d40e24
@ -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
|
||||
# dmesg -> enp0s20f0u1u2: renamed from eth0
|
||||
#boot.kernelParams = [ "ip=:::::eth0:dhcp" ];
|
||||
boot.kernelParams = [ "ip=dhcp" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user