Adapt NixOS configurations to new kernel package parameters
This commit is contained in:
parent
577a001543
commit
d45360093a
3 changed files with 4 additions and 10 deletions
|
@ -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; {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue