Adapt NixOS configurations to new kernel package parameters
Some checks failed
nix flake check / check (aarch64-linux) (push) Has been cancelled
nix flake check / check (x86_64-linux) (push) Has been cancelled

This commit is contained in:
Mikael 2024-11-13 18:02:28 +01:00
parent 577a001543
commit d45360093a
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0
3 changed files with 4 additions and 10 deletions

View file

@ -49,12 +49,8 @@ imports = [
"nvidia/ga107/gsp/gsp-535.113.01.bin"
];
profiles = {
physical = true;
portable = true;
extraProfiles = {
dm-crypt = true;
wireless = true;
audio = true;
};
extraConfig = with linux-hardened.lib.kernel; {

View file

@ -40,10 +40,9 @@ in {
];
boot.kernelPackages = let
inherit (linux-hardened.packages.x86_64-linux) default;
in pkgs.linuxPackagesFor (default.override {
inherit (linux-hardened.packages.x86_64-linux) paravirt;
in pkgs.linuxPackagesFor (paravirt.override {
instSetArch = "x86-64-v3";
profiles = { paravirt = true; };
extraConfig = with linux-hardened.lib.kernel; {
NR_CPUS = 8;

View file

@ -18,8 +18,7 @@
boot.kernelPackages = let
inherit (linux-hardened.packages.x86_64-linux) supermicro-h11ssw;
in pkgs.linuxPackagesFor (supermicro-h11ssw.override {
profiles = {
physical = true;
extraProfiles = {
dm-crypt = true;
};