2020-04-24 23:36:52 +00:00
|
|
|
# GNOME Terminal.
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
cfg = config.programs.gnome-terminal;
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Added 2019-08-19
|
|
|
|
imports = [
|
|
|
|
(mkRenamedOptionModule
|
|
|
|
[ "services" "gnome3" "gnome-terminal-server" "enable" ]
|
|
|
|
[ "programs" "gnome-terminal" "enable" ])
|
|
|
|
];
|
|
|
|
|
|
|
|
options = {
|
2022-09-09 14:08:57 +00:00
|
|
|
programs.gnome-terminal.enable = mkEnableOption (lib.mdDoc "GNOME Terminal");
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2021-05-20 23:08:51 +00:00
|
|
|
environment.systemPackages = [ pkgs.gnome.gnome-terminal ];
|
|
|
|
services.dbus.packages = [ pkgs.gnome.gnome-terminal ];
|
|
|
|
systemd.packages = [ pkgs.gnome.gnome-terminal ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
programs.bash.vteIntegration = true;
|
|
|
|
programs.zsh.vteIntegration = true;
|
|
|
|
};
|
|
|
|
}
|