This commit is contained in:
parent
eda7299e8d
commit
84c141f3d5
3 changed files with 4 additions and 5 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue