Skip to content

Commit

Permalink
modules/nixos/common/builder: enable kernel samepage merging
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Jan 6, 2025
1 parent 26ce341 commit 073ea01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/nixos/common/builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

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

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

systemd.services.free-space = {
serviceConfig.Type = "oneshot";
startAt = "hourly";
Expand Down

0 comments on commit 073ea01

Please sign in to comment.