Tweak performance settings
This commit is contained in:
parent
b4c0b9c09d
commit
da3cefab0d
3 changed files with 9 additions and 5 deletions
|
|
@ -43,6 +43,10 @@
|
|||
|
||||
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||
|
||||
zramSwap.enable = true;
|
||||
zramSwap.memoryPercent = 300;
|
||||
systemd.oomd.enable = true;
|
||||
|
||||
console = {
|
||||
keyMap = lib.mkDefault "fr";
|
||||
font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@
|
|||
|
||||
swapDevices = [ { device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; } ];
|
||||
|
||||
zramSwap.enable = true;
|
||||
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
|
|
@ -49,7 +48,10 @@
|
|||
|
||||
swapDevices = [ { device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; } ];
|
||||
|
||||
zramSwap.enable = true;
|
||||
powerManagement = {
|
||||
cpuFreqGovernor = "performance";
|
||||
powertop.enable = true;
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
|
|
@ -66,7 +68,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
services.resolved.dnssec = "false";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue