Update everything, fix opencode/nvim stuff

This commit is contained in:
2026-04-27 18:24:56 +02:00
parent d1ba716721
commit 2941c39e4b
11 changed files with 80 additions and 37 deletions
+6
View File
@@ -27,6 +27,12 @@
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
publish = {
enable = true;
addresses = true;
workstation = true;
};
};
services.automatic-timezoned.enable = true;
+2
View File
@@ -25,6 +25,8 @@
app_exit = "<leader>q";
input_submit = "ctrl+s";
input_newline = "return";
input_undo = "ctrl+y";
input_redo = "ctrl+shift+y";
};
};
};
+10
View File
@@ -112,6 +112,16 @@ _kgy() {
}
compdef _kgy kgy
kubectl-top-ephemeral() {
(
echo "Namespace Pod Ephemeral-used"
for i in $(kubectl get node -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}'); do
kubectl get --raw "/api/v1/nodes/$i/proxy/stats/summary" | jq -r '.pods[]| [ .podRef.namespace, .podRef.name, ."ephemeral-storage".usedBytes ]|@tsv'
done
) | column -t | (read -r; printf "%s\n" "$REPLY"; sort -rn -k3) | head -21
}
alias copyfile="osc copy"
copypath() {
local file="${1:-.}"