Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
juicefs-csi-driver.url = "https://raw.githubusercontent.com/juicedata/juicefs-csi-driver/v0.25.2/deploy/k8s.yaml"; # gh-release-update
kured.flake = false;
kured.url = "github:kubereboot/kured";
# lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1";
# lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
mac-app-util.url = "github:hraban/mac-app-util";
microvm.url = "github:astro/microvm.nix";
microvm.inputs.flake-utils.follows = "flake-utils";
Expand Down
1 change: 1 addition & 0 deletions flake/hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
inputs.home-manager.nixosModules.home-manager
inputs.impermanence.nixosModules.impermanence
inputs.microvm.nixosModules.host
inputs.lanzaboote.nixosModules.lanzaboote
inputs.nixpkgs.nixosModules.notDetected
../modules/default.nix
];
Expand Down
25 changes: 25 additions & 0 deletions profiles/secureboot.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
lib,
pkgs,
...
}: {
environment.persistence."/keep".directories = [
"/var/lib/sbctl"
];

environment.systemPackages = [
# For debugging and troubleshooting Secure Boot.
pkgs.sbctl
];

# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
# boot.loader.systemd-boot.enable = lib.mkForce false;

# boot.lanzaboote = {
# enable = true;
# pkiBundle = "/var/lib/sbctl";
# };
}