{ config, lib, pkgs, ... }: { imports = [ ]; options.me = { ares.enable = lib.mkOption { type = lib.types.bool; default = false; example = true; description = "Whether we want to install ares."; }; }; config = lib.mkIf config.me.ares.enable ( lib.mkMerge [ { } (lib.mkIf config.me.graphical { environment.systemPackages = with pkgs; [ ares ]; }) ] ); }