summaryrefslogtreecommitdiff
path: root/hosts/glados/boot.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-25 20:26:41 -0500
committerseth <[email protected]>2023-01-26 03:49:52 -0500
commit7608b3701bf43502a9d3e5752b5f4cd9643f126b (patch)
tree31e8e43af2effe1a306db6cc3b65171101968698 /hosts/glados/boot.nix
parent7c93704d3d49a7dc3f0067beb80846ca539d392b (diff)
help
Diffstat (limited to 'hosts/glados/boot.nix')
-rw-r--r--hosts/glados/boot.nix28
1 files changed, 28 insertions, 0 deletions
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"];
+ };
+}