add kitty config

This commit is contained in:
John Bowdre 2023-10-01 11:19:13 -05:00
parent 806291470f
commit 0f36251282
4 changed files with 23 additions and 2 deletions

View file

@ -6,7 +6,6 @@
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
kitty
obsidian obsidian
qFlipper qFlipper
]; ];

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
./mako.nix ./mako.nix
./kitty.nix
]; ];
xdg.mimeApps.enable = true; xdg.mimeApps.enable = true;

View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
let
kitty-xterm = pkgs.writeShellScriptBin "xterm" ''
${config.programs.kitty.package}/bin/kitty -1 "$@"
'';
in
{
home = {
packages = [ kitty-xterm ];
sessioVariables = {
TERMINAL = "kitty -1";
};
};
programs.kitty = {
enable = true;
settings = {
scrollback_lines = 4000;
};
};
}

View file

@ -9,7 +9,7 @@
../common/users/john ../common/users/john
../common/optional/docker.nix ../common/optional/docker.nix
#../common/optional/greetd.nix ../common/optional/greetd.nix
../common/optional/hyprland.nix ../common/optional/hyprland.nix
../common/optional/libvirtd.nix ../common/optional/libvirtd.nix
../common/optional/pipewire.nix ../common/optional/pipewire.nix