Kitty/zh-cn: Difference between revisions
Created page with "=== 使用 Stylix 进行主题化 ===" |
Created page with "{{Expansion|reason=此章节不完整,需要详细的故障排除步骤}}" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 16: | Line 16: | ||
==== System setup ==== | ==== System setup ==== | ||
要安装 Kitty,可将其添加到系统级的 | 要安装 Kitty,可将其添加到系统级的 <code>/etc/nixos/configuration.nix</code> 中的 <code>environment.systemPackages</code>,或添加到用户级的 <code>~/.config/nixpkgs/home.nix</code> 中的 <code>home.packages</code>。<ref>https://nixos.org/manual/nixos/stable/</ref> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
# System-wide installation (in /etc/nixos/configuration.nix) | # System-wide installation (in /etc/nixos/configuration.nix) | ||
| Line 96: | Line 96: | ||
=== 使用 Stylix 进行主题化 === | === 使用 Stylix 进行主题化 === | ||
您可以使用 Stylix 通过启用其内置集成来为 Kitty 设置主题: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
stylix.targets.kitty.enable = true; | stylix.targets.kitty.enable = true; | ||
| Line 105: | Line 103: | ||
== Troubleshooting == | == Troubleshooting == | ||
{{Expansion|reason=此章节不完整,需要详细的故障排除步骤}} | |||
{{Expansion|reason= | |||
== References == | == References == | ||