summaryrefslogtreecommitdiff
path: root/hosts/glados/boot.nix
blob: f936f1e7f96b2e472a82c413d052d0a198fed7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  lib,
  pkgs,
  ...
}: {
  environment.systemPackages = with pkgs; [
    sbctl
  ];

  boot = {
    kernelPackages = pkgs.linuxPackages_latest;

    bootspec.enable = true;
    loader.systemd-boot.enable = lib.mkForce false;

    lanzaboote = {
      enable = true;
      pkiBundle = "/etc/secureboot";
    };
    supportedFilesystems = ["btrfs" "ntfs"];
  };
}