nixos-config/modules/terminal.nix
Charlotte Van Petegem 0df4d5654f
Finish modularising config
There are still some things I want to change, but at least there aren't two systems now.
2021-06-27 00:32:31 +02:00

52 lines
1.3 KiB
Nix

{ config, lib, pkgs, ... }:
{
options.chvp.terminal.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.terminal.enable {
home-manager.users.charlotte = { pkgs, ... }: {
programs.kitty = {
enable = true;
settings = {
font_family = "Fira Code";
font_size = 9;
disable_ligatures = "cursor";
background = "#ffffff";
foreground = "#000000";
cursor = "#777777";
url_color = "#0031a9";
# black
color0 = "#282828";
color8 = "#000000";
# red
color1 = "#a60000";
color9 = "#972500";
# green
color2 = "#005e00";
color10 = "#315b00";
# yellow
color3 = "#813e00";
color11 = "#70480f";
# blue
color4 = "#0031a9";
color12 = "#2544bb";
# magenta
color5 = "#721045";
color13 = "#8f0075";
# cyan
color6 = "#00538b";
color14 = "#30517f";
# white
color7 = "#f8f8f8";
color15 = "#ffffff";
enable_audio_bell = false;
visual_bell_duration = "0.25";
remember_window_size = false;
};
};
};
};
}