fix remote disk unlocking
All checks were successful
/ build-all (push) Successful in 1m5s

This commit is contained in:
ant 2025-09-01 23:26:40 +02:00
parent eda7299e8d
commit 84c141f3d5
3 changed files with 4 additions and 5 deletions

View file

@ -8,7 +8,7 @@ in
./hardware-configuration.nix ./hardware-configuration.nix
../common.nix ../common.nix
../common-graphics.nix ../common-graphics.nix
(import ../remote-disk-unlock.nix sshKeys) (import ../remote-disk-unlock.nix ["igb"] sshKeys)
]; ];
boot.loader = { boot.loader = {

View file

@ -15,7 +15,7 @@ in {
./disks.nix ./disks.nix
./backup.nix ./backup.nix
../common.nix ../common.nix
(import ../remote-disk-unlock.nix sshKeys) (import ../remote-disk-unlock.nix ["r8169"] sshKeys)
]; ];
boot = { boot = {

View file

@ -1,8 +1,7 @@
sshKeys: ({ config, pkgs, ... }: { kernelModules: sshKeys: ({ config, pkgs, ... }: {
boot.kernelParams = [ "ip=dhcp" ];
boot = { boot = {
initrd = { initrd = {
availableKernelModules = [ "r8169" "igb" ]; availableKernelModules = kernelModules;
network = { network = {
enable = true; enable = true;
udhcpc = { udhcpc = {