Kitty: Difference between revisions
m Removed numbering |
m Changed structure to fit with my other pages |
||
Line 10: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== | ==== Using Global Configuration ==== | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== | ==== Using Home Configuration ==== | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
home.packages = [ | home.packages = [ | ||
Line 29: | Line 29: | ||
== Configuration == | == Configuration == | ||
<div style="border: 1px solid #2E8B57; background: #DFF2DF; padding: 30px; border-radius: 5px; margin: 10px 0px; display: flex; align-items: center;"> | |||
<div style="color: #2E8B57; font-size: 40px; margin-right: 15px; background: #DFF2DF; display: flex; line-height: 0; align-items: center;">✦</div> | |||
<div style="color: #2E8B57; font-size: 15px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">Kitty can be configured exclusively through the Home Manager.</div> | |||
</div> | |||
==== Basic ==== | ==== Basic ==== | ||
Line 79: | Line 82: | ||
== Tips and Tricks == | == Tips and Tricks == | ||
==== | ==== Location of Options ==== | ||
The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.kitty.enable Home Manager Options Manual]. | The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.kitty.enable Home Manager Options Manual]. | ||
==== | ==== Stylix Integration ==== | ||
Yes, it can. See the following configuration:<syntaxhighlight lang="nix"> | Yes, it can. See the following configuration:<syntaxhighlight lang="nix"> | ||
extraConfig = with config.stylix.base16Scheme; '' | extraConfig = with config.stylix.base16Scheme; '' | ||
Line 133: | Line 136: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== | ==== Keymaps ==== | ||
It depends on the window manager that you are using. On [https://wiki.nixos.org/wiki/Hyprland Hyprland] it's fairly easy:<syntaxhighlight lang="nix"> | It depends on the window manager that you are using. On [https://wiki.nixos.org/wiki/Hyprland Hyprland] it's fairly easy:<syntaxhighlight lang="nix"> | ||
bind = [ | bind = [ |