Skip to content

Commit

Permalink
build01, build05: switch to 6.12 kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Jan 20, 2025
1 parent 33ba303 commit a606396
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion hosts/build01/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
inputs.self.nixosModules.cgroups
Expand All @@ -7,6 +7,8 @@
inputs.srvos.nixosModules.hardware-hetzner-online-amd
];

boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;

nix.settings.max-jobs = 24;

nixpkgs.hostPlatform.gcc.arch = "znver2";
Expand Down
4 changes: 3 additions & 1 deletion hosts/build05/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
inputs.self.nixosModules.cgroups
Expand All @@ -7,6 +7,8 @@
inputs.srvos.nixosModules.hardware-hetzner-online-arm
];

boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;

nix.settings.max-jobs = 80;

nixpkgs.hostPlatform.gcc.arch = "armv8-a";
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/common/builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
config = lib.mkIf (lib.hasPrefix "build" config.networking.hostName) {
nix.gc.automatic = false;

boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
boot.kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_6_6;

boot.zfs.package = pkgs.zfs_2_3;

Expand Down

0 comments on commit a606396

Please sign in to comment.