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

{
  boot = {
    kernelParams = [
      # get an IP address on boot, so we can unlock the root disk remotely
      "ip=dhcp"
      # rotate the screen 90 degree counter clockwise
      "fbcon=rotate:1"
    ];
    initrd = {
      # driver for the NIC, required in order to get an IP address
      kernelModules = [ "r8169" ];
    };
  };

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