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
../common.nix
../common-graphics.nix
(import ../remote-disk-unlock.nix sshKeys)
(import ../remote-disk-unlock.nix ["igb"] sshKeys)
];
boot.loader = {

View file

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

View file

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