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"
|
"nvidia/ga107/gsp/gsp-535.113.01.bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
profiles = {
|
extraProfiles = {
|
||||||
physical = true;
|
|
||||||
portable = true;
|
|
||||||
dm-crypt = true;
|
dm-crypt = true;
|
||||||
wireless = true;
|
|
||||||
audio = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = with linux-hardened.lib.kernel; {
|
extraConfig = with linux-hardened.lib.kernel; {
|
||||||
|
|
|
@ -40,10 +40,9 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = let
|
boot.kernelPackages = let
|
||||||
inherit (linux-hardened.packages.x86_64-linux) default;
|
inherit (linux-hardened.packages.x86_64-linux) paravirt;
|
||||||
in pkgs.linuxPackagesFor (default.override {
|
in pkgs.linuxPackagesFor (paravirt.override {
|
||||||
instSetArch = "x86-64-v3";
|
instSetArch = "x86-64-v3";
|
||||||
profiles = { paravirt = true; };
|
|
||||||
extraConfig = with linux-hardened.lib.kernel; {
|
extraConfig = with linux-hardened.lib.kernel; {
|
||||||
NR_CPUS = 8;
|
NR_CPUS = 8;
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
boot.kernelPackages = let
|
boot.kernelPackages = let
|
||||||
inherit (linux-hardened.packages.x86_64-linux) supermicro-h11ssw;
|
inherit (linux-hardened.packages.x86_64-linux) supermicro-h11ssw;
|
||||||
in pkgs.linuxPackagesFor (supermicro-h11ssw.override {
|
in pkgs.linuxPackagesFor (supermicro-h11ssw.override {
|
||||||
profiles = {
|
extraProfiles = {
|
||||||
physical = true;
|
|
||||||
dm-crypt = true;
|
dm-crypt = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue