System¶
Source directory: modules/system/
default.nix¶
No option declarations; see source for implementation.
fstrim-optimization.nix¶
modules/system/fstrim-optimization.nix
FSTRIM Boot Optimization Module Prevents fstrim from blocking boot by ensuring timer-only operation
- Enable option: FSTRIM boot optimization to prevent boot blocking
Options: enable, preventBootBlocking
Options declaration (Nix)
options.services.fstrim-optimization = {
enable = mkEnableOption "FSTRIM boot optimization to prevent boot blocking";
preventBootBlocking = mkOption {
type = types.bool;
default = true;
description = ''
Prevent fstrim from running during boot and blocking the boot process.
This ensures fstrim only runs via timer.
'';
};
}
logging.nix¶
Logging configuration for reduced noise
- Enable option: Enable log filtering for noise reduction
Options: enableFiltering, filterRules