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