mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
ssh unlock
This commit is contained in:
parent
cc407ddda7
commit
5c67d40e24
@ -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" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user