feat: add smart alerting and noatime to disks
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# Power management kernel parameters
|
||||
boot.kernelParams = [
|
||||
"intel_pstate=passive" # Better with powersave governor
|
||||
"i915.enable_rc6=1" # GPU deep sleep states
|
||||
"i915.enable_dc=2" # Display C-states (deepest)
|
||||
"i915.enable_fbc=1" # Frame buffer compression
|
||||
];
|
||||
|
||||
# RAID 1 array for data storage
|
||||
boot.swraid = {
|
||||
enable = true;
|
||||
@@ -78,11 +86,13 @@
|
||||
fileSystems."/var/lib/downloads" = {
|
||||
device = "/dev/vg-data/lv-downloads";
|
||||
fsType = "xfs";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/multimedia" = {
|
||||
device = "/dev/vg-data/lv-multimedia";
|
||||
fsType = "xfs";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
|
||||
# DHCP networking
|
||||
|
||||
Reference in New Issue
Block a user