Skip to content

Commit

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

boot.zfs.package = pkgs.zfs_unstable;

nix.settings.max-jobs = 24;

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

boot.zfs.package = pkgs.zfs_unstable;

nix.settings.max-jobs = 80;

nixpkgs.hostPlatform.gcc.arch = "armv8-a";
Expand Down
2 changes: 2 additions & 0 deletions modules/nixos/common/builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

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

boot.zfs.package = pkgs.zfs_2_3;

# kernel samepage merging
hardware.ksm.enable = true;

Expand Down

0 comments on commit d133f63

Please sign in to comment.