Fix kitty copy/paste

This commit is contained in:
Thomas Avé 2025-07-11 13:05:49 +02:00
parent d773883c02
commit 8f189802a2
3 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { lib, ... }:
{ {
programs.kitty = { programs.kitty = {
@ -15,8 +15,11 @@
"kitty_mod+enter" = "nop"; "kitty_mod+enter" = "nop";
"kitty_mod+equal" = "change_font_size current +1.0"; "kitty_mod+equal" = "change_font_size current +1.0";
"kitty_mod+minus" = "change_font_size current -1.0"; "kitty_mod+minus" = "change_font_size current -1.0";
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
}; };
settings = { settings = {
kitty_mod= "ctrl+alt";
cursor_shape = "block"; cursor_shape = "block";
cursor_beam_thickness = 1; cursor_beam_thickness = 1;
scrollback_lines = 100000; scrollback_lines = 100000;

View File

@ -40,6 +40,7 @@ in {
}; };
Settings = { Settings = {
AutoConnect = true; AutoConnect = true;
Country = "ES";
}; };
General = { General = {
EnableNetworkConfiguration = true; EnableNetworkConfiguration = true;
@ -119,4 +120,5 @@ in {
]; ];
fonts.fontDir.enable = true; fonts.fontDir.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
} }

View File

@ -1,4 +1,4 @@
{ inputs, config, pkgs, ... }: { ... }:
{ {
boot.initrd.supportedFilesystems = [ "zfs" ]; boot.initrd.supportedFilesystems = [ "zfs" ];
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
@ -18,6 +18,17 @@
autoprune = true; autoprune = true;
autosnap = true; autosnap = true;
}; };
"rpool/storage" = {
frequently = 8;
yearly = 0;
monthly = 0;
weekly = 0;
daily = 0;
hourly = 0;
frequent_period = 15;
autoprune = true;
autosnap = true;
};
}; };
}; };
} }