initial commit
Change-Id: Icdf87c6c68d88c917468ad949f90af5bcb690831
diff --git a/modules/boot.nix b/modules/boot.nix
new file mode 100644
index 0000000..1948e91
--- /dev/null
+++ b/modules/boot.nix
@@ -0,0 +1,23 @@
+{ lib, ... }: {
+ boot = {
+ supportedFilesystems = [ "ntfs" ];
+ bootspec.enable = true;
+ loader.systemd-boot = {
+ enable = lib.mkForce false;
+ };
+ lanzaboote = {
+ enable = true;
+ pkiBundle = "/etc/secureboot";
+
+ settings = {
+ auto-entries = true;
+ };
+
+ };
+ loader.efi.canTouchEfiVariables = true;
+ initrd.luks.devices."luks-bf23eee1-7cb7-43b9-822f-a9f49ea0a768".device =
+ "/dev/disk/by-uuid/bf23eee1-7cb7-43b9-822f-a9f49ea0a768";
+
+ initrd.kernelModules = [ "amdgpu" ];
+ };
+}