{ programs.emacs = { enable = true; # set the package to a dummy package, install with system package manager # specifically use the emacs gtk package }; }