Compare commits

...

2 Commits

Author SHA1 Message Date
6707382246
Use fish in kitty 2026-06-30 19:20:07 +02:00
621e1673e7
Set /bin/sh to dash 2026-06-30 18:44:37 +02:00
3 changed files with 41 additions and 23 deletions

View File

@ -151,6 +151,9 @@ in
# To disable the firewall altogether.
# networking.firewall.enable = false;
# Replaces /bin/sh with dash (which is faster than bash)
environment.binsh = "${pkgs.dash}/bin/dash";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View File

@ -28,7 +28,6 @@ in
];
home.packages = with pkgs; [
kitty
kdePackages.kate
(discord-canary.override {
withOpenASAR = true;

View File

@ -1,29 +1,45 @@
{ ... }:
{
home.file.".config/kitty/kitty.conf".text = ''
font_family Fira Code Regular
bold_font auto
italic_font auto
bold_italic_font auto
programs.kitty = {
enable = true;
shellIntegration = {
mode = "enabled";
enableFishIntegration = true;
};
settings = {
shell = "fish";
font_family = "Fira Code Regular";
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
cursor_shape beam
disable_ligatures cursor
cursor_shape = "beam";
disable_ligatures = "cursor";
font_size 12
font_size = 12;
scrollback_lines 4096
enable_audio_bell no
copy_on_select clipboard
strip_trailing_spaces smart
scrollback_lines = 4096;
enable_audio_bell = "no";
copy_on_select = "clipboard";
strip_trailing_spaces = "smart";
sync_to_monitor no
background_opacity 0.75
initial_window_width 576
initial_window_height 512
sync_to_monitor = "no";
background_opacity = 0.75;
initial_window_width = 576;
initial_window_height = 512;
remember_window_size no
window_padding_width 6
placement_strategy center
hide_window_decorations yes
shell_integration enabled
'';
remember_window_size = "no";
window_padding_width = 6;
placement_strategy = "center";
hide_window_decorations = "yes";
};
};
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disables greeting
'';
};
}