{ config, ... }: mkIf (elem "emacs-solarized-theme" config.machine.pkgs) { programs.emacs.init.usePackage.solarized-theme = { enable = true; config = "(load-theme 'solarized-dark t)"; }; }