summaryrefslogtreecommitdiff
path: root/hel/boot.nix
blob: 41452166ea68c0ff501607007f45f9669d8cbb1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ config, lib, pkgs, ... }:

{
  boot = {
    initrd = {
      luks.devices = [ { name = "ssd"; device = "/dev/disk/by-uuid/9e9e430c-f9cd-418e-b66b-60f81ba9293b"; }
                     ];
      availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
    };

    kernelModules = [ "kvm-intel" ];
    extraModulePackages = [ ];

    loader = {
      systemd-boot.enable = true;
      efi.canTouchEfiVariables = true;
      timeout = null;
    };

    plymouth = {
      enable = true;
    };

    tmpOnTmpfs = true;

    kernelParams = ["intel_pstate=no_hwp"];

    blacklistedKernelModules = ["snd_soc_skl"];
  };
}