modules/nixos/common/builder: switch back to 6.6 kernel
This commit is contained in:
parent
16c333cfde
commit
8fd43a7c75
2 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, pkgs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./builders.nix
|
./builders.nix
|
||||||
|
@ -16,8 +16,6 @@
|
||||||
inputs.srvos.nixosModules.hardware-hetzner-online-amd
|
inputs.srvos.nixosModules.hardware-hetzner-online-amd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.lib.mkForce pkgs.linuxKernel.packages.linux_6_6;
|
|
||||||
|
|
||||||
nix.settings.max-jobs = 96;
|
nix.settings.max-jobs = 96;
|
||||||
|
|
||||||
nixpkgs.hostPlatform.gcc.arch = "znver4";
|
nixpkgs.hostPlatform.gcc.arch = "znver4";
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
config = lib.mkIf (lib.hasPrefix "build" config.networking.hostName) {
|
config = lib.mkIf (lib.hasPrefix "build" config.networking.hostName) {
|
||||||
nix.gc.automatic = false;
|
nix.gc.automatic = false;
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
|
||||||
|
|
||||||
# kernel samepage merging
|
# kernel samepage merging
|
||||||
hardware.ksm.enable = true;
|
hardware.ksm.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue