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

{
  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 = [ "r8169" ];
    };
  };

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