add lanzaboote and remove defective aagl module for now

This commit is contained in:
Gabriella Bere 2024-09-14 22:11:15 +01:00
parent fd6ca655c3
commit 88365b373a
2 changed files with 23 additions and 4 deletions

View file

@ -12,9 +12,19 @@
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot = {
initrd.systemd.enable = true;
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this
@ -29,6 +39,8 @@
boot.initrd.kernelModules = [ "amdgpu" ];
boot.bootspec.enabled = true;
networking.hostName = "gabbielaptop"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.