diff options
Diffstat (limited to 'home/terminal')
-rw-r--r-- | home/terminal/alacritty/default.nix | 53 | ||||
-rw-r--r-- | home/terminal/default.nix | 18 |
2 files changed, 0 insertions, 71 deletions
diff --git a/home/terminal/alacritty/default.nix b/home/terminal/alacritty/default.nix deleted file mode 100644 index 1e74914..0000000 --- a/home/terminal/alacritty/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ config, lib, pkgs, ... }: -let cfg = config.my.home.terminal; -in -{ - config = lib.mkIf (cfg.program == "alacritty") { - programs.alacritty = { - enable = true; - - settings = { - env = { TERM = "xterm-256color"; }; - live_config_reload = true; - draw_bold_text_with_bright_colors = true; - selection = { save_to_clipboard = true; }; - colors = { - primary = { - background = "#000000"; - foreground = "#D3D7CF"; - }; - - normal = { - black = "#2E3436"; - red = "#CC0000"; - green = "#4E9A06"; - yellow = "#C4A000"; - blue = "#3465A4"; - magenta = "#EF33C0"; - cyan = "#04B5B8"; - white = "#D3D7CF"; - }; - - bright = { - black = "#555753"; - red = "#EF2929"; - green = "#8AE234"; - yellow = "#FCE94F"; - blue = "#729FCF"; - magenta = "#EE38DA"; - cyan = "#34E2E2"; - white = "#EEEEEC"; - }; - }; - font = { - size = 13; - normal.family = "Source Code Pro"; - }; - cursor = { - style.blinking = "Never"; - unfocused_hollow = true; - }; - }; - }; - }; -} diff --git a/home/terminal/default.nix b/home/terminal/default.nix deleted file mode 100644 index 68dcf4b..0000000 --- a/home/terminal/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, lib, ... }: -let cfg = config.my.home.terminal; -in -{ - imports = [ ./alacritty ]; - options.my.home = with lib; { - terminal = { - program = mkOption { - type = with types; nullOr (enum [ "alacritty" ]); - default = null; - example = "alacritty"; - description = "Which terminal to use for home session"; - }; - }; - }; - config.home.sessionVariables = - lib.mkIf (cfg.program != null) { TERMINAL = cfg.program; }; -} |