feat(nix): update secure boot and HALO system configuration

- Set `pkiBundle` in `secureboot` to use `mkDefault` for better configurability.
- Added kernel parameters for HALO, improving performance and boot customization.
- Configured ROCm symlink and switched HALO to `linuxPackages_latest`.
This commit is contained in:
Harald Hoyer 2026-02-11 16:33:50 +01:00
parent 52e1276115
commit e5615c85bf
3 changed files with 26 additions and 1 deletions

View file

@ -10,6 +10,22 @@ with lib.metacfg;
./hardware-configuration.nix
./xremap.nix
];
boot.lanzaboote.pkiBundle = "/var/lib/sbctl";
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
systemd.tmpfiles.rules =
let
rocmEnv = pkgs.symlinkJoin {
name = "rocm-combined";
paths = with pkgs.rocmPackages; [
rocblas
hipblas
clr
];
};
in [
"L+ /opt/rocm - - - - ${rocmEnv}"
];
powerManagement.cpuFreqGovernor = "performance";