From 0f362512822623ef75e918f219a325f785e57e76 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 1 Oct 2023 11:19:13 -0500 Subject: [PATCH] add kitty config --- home/features/desktop/default.nix | 1 - home/features/desktop/wayland-wm/default.nix | 1 + home/features/desktop/wayland-wm/kitty.nix | 21 ++++++++++++++++++++ hosts/pixnix/default.nix | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 home/features/desktop/wayland-wm/kitty.nix diff --git a/home/features/desktop/default.nix b/home/features/desktop/default.nix index 82cc273..1f35703 100644 --- a/home/features/desktop/default.nix +++ b/home/features/desktop/default.nix @@ -6,7 +6,6 @@ ]; home.packages = with pkgs; [ - kitty obsidian qFlipper ]; diff --git a/home/features/desktop/wayland-wm/default.nix b/home/features/desktop/wayland-wm/default.nix index f8e6608..5b2efd8 100644 --- a/home/features/desktop/wayland-wm/default.nix +++ b/home/features/desktop/wayland-wm/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ ./mako.nix + ./kitty.nix ]; xdg.mimeApps.enable = true; diff --git a/home/features/desktop/wayland-wm/kitty.nix b/home/features/desktop/wayland-wm/kitty.nix new file mode 100644 index 0000000..85ea048 --- /dev/null +++ b/home/features/desktop/wayland-wm/kitty.nix @@ -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; + }; + }; +} \ No newline at end of file diff --git a/hosts/pixnix/default.nix b/hosts/pixnix/default.nix index 5537bcf..6c8638b 100644 --- a/hosts/pixnix/default.nix +++ b/hosts/pixnix/default.nix @@ -9,7 +9,7 @@ ../common/users/john ../common/optional/docker.nix - #../common/optional/greetd.nix + ../common/optional/greetd.nix ../common/optional/hyprland.nix ../common/optional/libvirtd.nix ../common/optional/pipewire.nix