From 7608b3701bf43502a9d3e5752b5f4cd9643f126b Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 25 Jan 2023 20:26:41 -0500 Subject: help --- hosts/glados/boot.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 hosts/glados/boot.nix (limited to 'hosts/glados/boot.nix') diff --git a/hosts/glados/boot.nix b/hosts/glados/boot.nix new file mode 100644 index 0000000..13cc84e --- /dev/null +++ b/hosts/glados/boot.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + pkgs, + ... +}: { + environment.systemPackages = with pkgs; [ + sbctl + ]; + + boot = { + kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + kernelParams = ["nohibernate"]; + + loader = { + systemd-boot = { + enable = lib.mkForce false; + }; + efi.canTouchEfiVariables = true; + }; + lanzaboote = { + enable = true; + pkiBundle = "/etc/secureboot"; + }; + + supportedFilesystems = ["zfs"]; + }; +} -- cgit v1.2.3