1 2 3 4 5 6 7 8
{ config, lib, ... }: with lib; let cfg = config.krebs; in { options.krebs.enable = mkEnableOption "krebs"; config = lib.mkIf config.krebs.enable {}; }