feat: nb performance tweaks
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user