summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-10-03 13:20:40 +0200
committerAlan Pearce2023-10-03 13:20:40 +0200
commit6815e6f2765af2dc7e72f9250f73e0005ae9cd2d (patch)
treee193c33659e7ace945d27e312875ef378ede73dc /user/settings
parent5dc3bbbe07ac69f7676e6fd9720791532b091a72 (diff)
downloadnixfiles-6815e6f2765af2dc7e72f9250f73e0005ae9cd2d.tar.lz
nixfiles-6815e6f2765af2dc7e72f9250f73e0005ae9cd2d.tar.zst
nixfiles-6815e6f2765af2dc7e72f9250f73e0005ae9cd2d.zip
kitty: initial configuration
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/kitty.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/settings/kitty.nix b/user/settings/kitty.nix
new file mode 100644
index 00000000..6027d877
--- /dev/null
+++ b/user/settings/kitty.nix
@@ -0,0 +1,25 @@
+{ pkgs
+, ...
+}:
+let
+  inherit (pkgs) stdenv;
+in
+{
+  programs.kitty = {
+    enable = true;
+    font = {
+      package = pkgs.recursive;
+      name = "Rec Mono SemiCasual";
+      size = 15;
+    };
+    theme = "Alabaster";
+    shellIntegration = {
+      mode = "enabled";
+    };
+  };
+  programs.fish.shellInit = ''
+    if test -n $KITTY_INSTALLATION_DIR
+      set -x KITTY_SHELL_INTEGRATION no-cursor
+    end
+  '';
+}