From 8f189802a2dde1836aa578ddc1b83d71ca635aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 11 Jul 2025 13:05:49 +0200 Subject: [PATCH] Fix kitty copy/paste --- home/kitty/default.nix | 5 ++++- hosts/Arendia/default.nix | 2 ++ hosts/Common/zfs.nix | 13 ++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/home/kitty/default.nix b/home/kitty/default.nix index 91676ed9..524aed32 100644 --- a/home/kitty/default.nix +++ b/home/kitty/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ lib, ... }: { programs.kitty = { @@ -15,8 +15,11 @@ "kitty_mod+enter" = "nop"; "kitty_mod+equal" = "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 = { + kitty_mod= "ctrl+alt"; cursor_shape = "block"; cursor_beam_thickness = 1; scrollback_lines = 100000; diff --git a/hosts/Arendia/default.nix b/hosts/Arendia/default.nix index f407345d..5c9a60e6 100644 --- a/hosts/Arendia/default.nix +++ b/hosts/Arendia/default.nix @@ -40,6 +40,7 @@ in { }; Settings = { AutoConnect = true; + Country = "ES"; }; General = { EnableNetworkConfiguration = true; @@ -119,4 +120,5 @@ in { ]; fonts.fontDir.enable = true; services.flatpak.enable = true; + boot.kernel.sysctl."net.ipv4.ip_forward" = 1; } diff --git a/hosts/Common/zfs.nix b/hosts/Common/zfs.nix index bfacabb6..10e951f0 100644 --- a/hosts/Common/zfs.nix +++ b/hosts/Common/zfs.nix @@ -1,4 +1,4 @@ -{ inputs, config, pkgs, ... }: +{ ... }: { boot.initrd.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ]; @@ -18,6 +18,17 @@ autoprune = true; autosnap = true; }; + "rpool/storage" = { + frequently = 8; + yearly = 0; + monthly = 0; + weekly = 0; + daily = 0; + hourly = 0; + frequent_period = 15; + autoprune = true; + autosnap = true; + }; }; }; }