kernel deck

This commit is contained in:
mjallen18
2025-02-08 16:51:17 -06:00
parent 084930518a
commit 4ac8af3f28
3 changed files with 55 additions and 53 deletions

28
hosts/deck/boot.nix Normal file
View File

@@ -0,0 +1,28 @@
{ pkgs, ... }:
let
kernel = pkgs.linuxPackages_latest;
in
{
# Configure bootloader with lanzaboot and secureboot
boot = {
kernelModules = [ "nct6775" ];
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
kernelPackages = kernel;
kernelParams = [
"quiet"
"amdgpu.ppfeaturemask=0xffffffff"
];
consoleLogLevel = 3;
bootspec.enable = true;
};
}