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:
parent
52e1276115
commit
e5615c85bf
3 changed files with 26 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue