summary refs log tree commit diff stats
path: root/user/settings/kitty.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings/kitty.nix')
-rw-r--r--user/settings/kitty.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/user/settings/kitty.nix b/user/settings/kitty.nix
index 6027d877..814ce54c 100644
--- a/user/settings/kitty.nix
+++ b/user/settings/kitty.nix
@@ -1,9 +1,6 @@
 { pkgs
 , ...
 }:
-let
-  inherit (pkgs) stdenv;
-in
 {
   programs.kitty = {
     enable = true;
@@ -12,14 +9,14 @@ in
       name = "Rec Mono SemiCasual";
       size = 15;
     };
-    theme = "Alabaster";
     shellIntegration = {
-      mode = "enabled";
+      mode = "no-cursor";
     };
+    settings = {
+      macos_option_as_alt = "left";
+    };
+    extraConfig = ''
+      include ~/.config/kitty/theme.conf
+    '';
   };
-  programs.fish.shellInit = ''
-    if test -n $KITTY_INSTALLATION_DIR
-      set -x KITTY_SHELL_INTEGRATION no-cursor
-    end
-  '';
 }