Skip to content

Commit

Permalink
nixos-modules/host: enable Kernel Same-Page Merging
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Nov 5, 2023
1 parent 42ac0e7 commit 4caeec0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos-modules/host.nix
Original file line number Diff line number Diff line change
Expand Up @@ -462,5 +462,8 @@ in
environment.etc."qemu/bridge.conf".text = lib.mkDefault ''
allow all
'';

# Enable Kernel Same-Page Merging
hardware.ksm.enable = true;
};
}

0 comments on commit 4caeec0

Please sign in to comment.