diff options
| author | Grisha Shipunov | 2025-08-15 18:34:37 +0200 |
|---|---|---|
| committer | Grisha Shipunov | 2025-08-15 18:35:18 +0200 |
| commit | f35599a59a080f0e7a173e21cae3d51dc230a212 (patch) | |
| tree | 1b1b9f91f754b24602d6649df80d002cbb6d11f2 /hosts/toaster/secure-boot.nix | |
| parent | 963dbeb3685326d1420aadd6345db1902e8fc1f2 (diff) | |
Revert "retire toaster"
This reverts commit 1baa256be04a8b4e711a7d48a76197b5ffad6637.
Diffstat (limited to 'hosts/toaster/secure-boot.nix')
| -rw-r--r-- | hosts/toaster/secure-boot.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hosts/toaster/secure-boot.nix b/hosts/toaster/secure-boot.nix new file mode 100644 index 0000000..9d934e1 --- /dev/null +++ b/hosts/toaster/secure-boot.nix @@ -0,0 +1,13 @@ +{ pkgs, lib, ... }: +{ + boot = { + bootspec.enable = true; + loader.systemd-boot.enable = lib.mkForce false; + lanzaboote = { + enable = true; + pkiBundle = "/var/lib/sbctl"; + }; + }; + + environment.systemPackages = [ pkgs.sbctl ]; +} |
