diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-16 00:13:06 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-16 00:13:06 -0800 |
commit | 2dff9d2b61244fed49136028d0e0f6ae3ae759cf (patch) | |
tree | b94dabd4a159ed19705c109cd9047a724ddbd4e2 /nix/modules/secure-boot.nix | |
parent | dd461e48043dabee4694e2b200f4c1d9cfdbc3d9 (diff) |
modules about done
Diffstat (limited to 'nix/modules/secure-boot.nix')
-rw-r--r-- | nix/modules/secure-boot.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/nix/modules/secure-boot.nix b/nix/modules/secure-boot.nix deleted file mode 100644 index 0785835..0000000 --- a/nix/modules/secure-boot.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, lib, config, inputs, ... }: -{ - imports = [ - inputs.lanzaboote.nixosModules.lanzaboote - ]; - - options = { - secure-boot.enable = lib.mkEnableOption "Enables secure boot on system"; - }; - - config = lib.mkIf config.secure-boot.enable { - boot = { - loader.systemd-boot.enable = lib.mkForce false; - lanzaboote = { - enable = true; - pkiBundle = "/etc/secureboot"; - }; - }; - }; -} |