feat: add smart alerting and noatime to disks
This commit is contained in:
parent
dbada3c509
commit
537f144885
8 changed files with 642 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue