nixos-config/modules/programs/gnome-terminal/default.nix

25 lines
652 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
2021-07-29 20:21:51 +00:00
let
cfg = config.ptw.programs.gnome-terminal;
in {
options.ptw.programs.gnome-terminal = {
enable = lib.mkEnableOption "Configure GNOME Terminal using HomeManager";
};
config = lib.mkIf cfg.enable {
2021-08-04 17:07:42 +00:00
environment.systemPackages = [ pkgs.gnome.gnome-terminal ];
home-manager.users."${config.ptw.system.singleUser}".programs.gnome-terminal = {
2021-08-04 17:07:42 +00:00
enable = true;
profile.default = {
visibleName = "default";
audibleBell = false;
#boldIsBright = true;
default = true;
# TODO: Make this configurable
font = "Source Code Pro 12";
};
2021-07-29 20:21:51 +00:00
};
};
}