laksjdlakjd

This commit is contained in:
2026-06-08 00:34:11 +02:00
parent e2a0d5c72b
commit ffef7811e1
6 changed files with 9 additions and 4 deletions
@@ -25,6 +25,7 @@ confirm-close-surface = false
clipboard-paste-protection = false
clipboard-paste-bracketed-safe = true
# even if this is now default of on gnome, keep the behaviour for ghostty
# https://github.com/ghostty-org/ghostty/pull/12443
copy-on-select = true
# 50MB, default is 10MB. The buffer is preallocated
scrollback-limit = 50000000
@@ -1,7 +1,7 @@
destore() {
for dst in "$@"; do
local MAYBESUDO=""
if test ! -w "$(dirname $(realpath --no-symlinks $dst))" ; then
if test ! -w "$(dirname "$(realpath --no-symlinks $dst)")" ; then
MAYBESUDO="sudo"
sudo true || {
echo >&2 "ERROR: could not destore '$dst' due to lack of sudo"
@@ -1,4 +1,5 @@
{ config, lib, pkgs, ... }:
lib.mkMerge [
{
home.shellAliases.tssh = "ssh -t";
@@ -40,6 +41,8 @@
controlPersist = "no";
};
programs.ssh.includes = [ "~/.ssh/config.d/*" ];
}
{
programs.ssh.matchBlocks = {
"*".serverAliveInterval = 10;
"*".serverAliveCountMax = 3;
@@ -185,3 +188,4 @@
};
}
]