From 2dff9d2b61244fed49136028d0e0f6ae3ae759cf Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 16 Jan 2025 00:13:06 -0800 Subject: modules about done --- nix/modules/secure-boot.nix | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 nix/modules/secure-boot.nix (limited to 'nix/modules/secure-boot.nix') 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"; - }; - }; - }; -} -- cgit