{ config, lib, ... }: let cfg = config.nomarchy.system.desktop; in { config = lib.mkIf cfg.enable { powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; # No-op until the user adds ZFS to boot.supportedFilesystems and a pool; # then maintenance kicks in without further config. services.zfs.autoScrub.enable = lib.mkDefault true; services.zfs.trim.enable = lib.mkDefault true; }; }