smart-energy-monitor/software/gateway/boot.nix

6 lines
159 B
Nix
Raw Permalink Normal View History

{lib, ...}: {
boot.kernel.sysctl = lib.mkDefault {"vm.swappiness" = 10;};
boot.tmpOnTmpfs = lib.mkDefault true;
boot.cleanTmpDir = lib.mkDefault true;
}