diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
| commit | 085ff668ab45ac8d57c093e502b1175a86f2c14e (patch) | |
| tree | 0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/tools/terminal | |
| parent | 70b590bf6b83dcb8f142451951a0f54ec3308283 (diff) | |
| download | home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip | |
Removed unnecessary packages.
Diffstat (limited to 'modules/tools/terminal')
| -rw-r--r-- | modules/tools/terminal/alacritty/default.nix | 83 | ||||
| -rw-r--r-- | modules/tools/terminal/default.nix | 24 | ||||
| -rw-r--r-- | modules/tools/terminal/kitty/default.nix | 55 | ||||
| -rw-r--r-- | modules/tools/terminal/tmux/default.nix | 11 |
4 files changed, 0 insertions, 173 deletions
diff --git a/modules/tools/terminal/alacritty/default.nix b/modules/tools/terminal/alacritty/default.nix deleted file mode 100644 index fa3c080..0000000 --- a/modules/tools/terminal/alacritty/default.nix +++ /dev/null @@ -1,83 +0,0 @@ -{ pkgs, config, lib, ... }: - -{ - options.tools.terminal.alacritty = { - enable = lib.mkEnableOption "Enables alacritty."; - }; - - config = lib.mkIf config.tools.terminal.alacritty.enable { - programs.alacritty.enable = true; - tools.terminal.default = lib.mkDefault "alacritty"; - tools.terminal.command = - lib.mkIf - (config.tools.terminal.default == "alacritty") - "${pkgs.alacritty}/bin/alacritty"; - - programs.alacritty.settings = { - window = { - opacity = 1.0; - padding = { - x = config.desktop.window-manager.gap; - y = config.desktop.window-manager.gap; - }; - decorations = "none"; - }; - - font = { - normal = { - family = config.fonts.normal; - style = "Retina"; - }; - bold = { - family = config.fonts.bold; - style = "Bold"; - }; - italic = { - family = config.fonts.italic; - }; - size = config.fonts.size; - }; - - colors = with config.scheme; { - primary = { - background = "0x${base00}"; - foreground = "0x${base05}"; - }; - normal = { - black = "0x${base00}"; - red = "0x${base08}"; - green = "0x${base0B}"; - yellow = "0x${base0A}"; - blue = "0x${base0D}"; - magenta = "0x${base0E}"; - cyan = "0x${base0C}"; - white = "0x${base05}"; - }; - bright = { - black = "0x${base03}"; - red = "0x${base08}"; - green = "0x${base0B}"; - yellow = "0x${base0A}"; - blue = "0x${base0D}"; - magenta = "0x${base0E}"; - cyan = "0x${base0C}"; - white = "0x${base07}"; - }; - dim = { - black = "0x${base01}"; - red = "0x${base08}"; - green = "0x${base0B}"; - yellow = "0x${base0A}"; - blue = "0x${base0D}"; - magenta = "0x${base0E}"; - cyan = "0x${base0C}"; - white = "0x${base04}"; - }; - }; - - shell = { - program = config.shell.command; - }; - }; - }; -} diff --git a/modules/tools/terminal/default.nix b/modules/tools/terminal/default.nix deleted file mode 100644 index 2e29bce..0000000 --- a/modules/tools/terminal/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, ... }: - -{ - imports = [ - ./alacritty - ./kitty - ./tmux - ]; - - options.tools.terminal = { - command = lib.mkOption { - type = lib.types.str; - description = "Command for the terminal."; - }; - - default = lib.mkOption { - type = lib.types.enum [ - "kitty" - "alacritty" - ]; - description = "Default terminal."; - }; - }; -} diff --git a/modules/tools/terminal/kitty/default.nix b/modules/tools/terminal/kitty/default.nix deleted file mode 100644 index 94f013b..0000000 --- a/modules/tools/terminal/kitty/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ pkgs, config, lib, ... }: - -{ - options.tools.terminal.kitty = { - enable = lib.mkEnableOption "Enables kitty. WARNING! Currently faces problems with color rendering with picom."; - }; - - config = lib.mkIf config.tools.terminal.kitty.enable { - programs.kitty.enable = true; - tools.terminal.default = lib.mkDefault "kitty"; - tools.terminal.command = - lib.mkIf - (config.tools.terminal.default == "kitty") - "${pkgs.kitty}/bin/kitty"; - - programs.kitty.settings = with config.scheme.withHashtag; { - window_padding_width = config.desktop.window-manager.gap; - font_size = config.fonts.size; - font_family = config.fonts.normal; - filter_notification = "all"; - update_check_interval = 0; # disable notifications - scrollback_indicator_opacity = "0.5"; - - dynamic_background_opacity = false; - allow_remote_control = false; - enable_audio_bell = false; - - background = base00; - foreground = base05; - text_composition_strategy = "legacy"; - - color0 = base00; # Black - color8 = base00; # Black - color1 = base08; # Red - color9 = base08; # Red - color2 = base0B; # Green - color10 = base0B; # Green - color3 = base0A; # Yellow - color11 = base0A; # Yellow - color4 = base0D; # Blue - color12 = base0D; # Blue - color5 = base0E; # Magenta - color13 = base0E; # Magenta - color6 = base0C; # Cyan - color14 = base0C; # Cyan - color7 = base05; # White - color15 = base05; # White - - selection_background = base03; - selection_foreground = base00; - - shell = config.shell.command; - }; - }; -} diff --git a/modules/tools/terminal/tmux/default.nix b/modules/tools/terminal/tmux/default.nix deleted file mode 100644 index a77bbcb..0000000 --- a/modules/tools/terminal/tmux/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, config, lib, ... }: - -{ - options.tools.terminal.tmux = { - enable = lib.mkEnableOption "Enables tmus."; - }; - - config = lib.mkIf config.tools.terminal.tmux.enable { - programs.tmux.enable = true; - }; -} |
