about summary refs log tree commit diff
path: root/hosts/carmel/boot.nix
blob: 606215e26ce93ac9101cbbbdccfdec9d8fec4a4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ ... }:

{
  boot = {
    # get an IP address on boot, so we can unlock the root disk remotely
    kernelParams = [ "ip=dhcp" ];
    initrd = {
      # driver for the NIC, required in order to get an IP address
      kernelModules = [ "igb" ];
    };
  };

  my.system.boot = { initrd = { network.enable = true; }; };
}