{ config, lib, pkgs, ... }: { options.modules.kernel.cachyos.enable = lib.mkEnableOption "CachyOS kernel"; config = lib.mkIf config.modules.kernel.cachyos.enable { boot.kernelPackages = pkgs.linuxPackages_cachyos; nix.settings.extra-substituters = [ "https://nyx-cache.chaotic.cx/" ]; nix.settings.extra-trusted-public-keys = [ "nyx-cache.chaotic.cx:dJxTrgMC3V3cFfyIiBQDQorG6k1LsqurH/srpMSq7qk=" ]; }; }