feat: nb performance tweaks
This commit is contained in:
parent
356c049aaf
commit
cc15f27205
6 changed files with 32 additions and 2 deletions
|
|
@ -74,10 +74,11 @@ in {
|
|||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
services.fwupd.enable = true;
|
||||
services.irqbalance.enable = true;
|
||||
|
||||
swapDevices = [ {
|
||||
device = "/nix/persist/swapfile";
|
||||
size = 32 * 1024; # Size is in megabytes (for hibernation)
|
||||
size = 96 * 1024; # Size is in megabytes (96GB for full hibernation with 92GB RAM)
|
||||
} ];
|
||||
|
||||
# Memory tuning for 92GB RAM
|
||||
|
|
@ -91,6 +92,14 @@ in {
|
|||
# nixos cross building qemu
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
# Btrfs maintenance
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "monthly";
|
||||
fileSystems = [ "/nix" ];
|
||||
};
|
||||
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
theme = "spin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue