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

{
  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 = {
    tmp = { clean = true; };
    initrd = { network.enable = true; };
  };
}