From e0bf6e4467d91cfb50f3742dc07f6d2882a36a40 Mon Sep 17 00:00:00 2001 From: Den Afanasyev Date: Wed, 8 Oct 2025 22:43:59 +0300 Subject: [PATCH] shell updates + k9s theming --- flake.lock | 24 ++++++++++---------- mbp/home.nix | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 74 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 302ed50..2d83b29 100755 --- a/flake.lock +++ b/flake.lock @@ -24,11 +24,11 @@ ] }, "locked": { - "lastModified": 1759337100, - "narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=", + "lastModified": 1759573136, + "narHash": "sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE=", "owner": "nix-community", "repo": "home-manager", - "rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3", + "rev": "5f06ceafc6c9b773a776b9195c3f47bbe1defa43", "type": "github" }, "original": { @@ -56,11 +56,11 @@ "homebrew-cask": { "flake": false, "locked": { - "lastModified": 1759346390, - "narHash": "sha256-LIuZWfdiaOxxx9g3okk3xEkTeAJ5IrR80gIvs/HZfLc=", + "lastModified": 1759591268, + "narHash": "sha256-vHzv4pDydTo44Gk4B13zxHrVhafPwdH2mzwiLjn6q3g=", "owner": "homebrew", "repo": "homebrew-cask", - "rev": "526ef01ddeb3b579c5b72c81d9d3fe2b244956a1", + "rev": "80214ca44411421f49c4dd76864b88e87028b8a3", "type": "github" }, "original": { @@ -72,11 +72,11 @@ "homebrew-core": { "flake": false, "locked": { - "lastModified": 1759343537, - "narHash": "sha256-D+xQjn01RwZ12o0RKB1LvTm+NXp81/jFrzzTdqKZB5o=", + "lastModified": 1759590675, + "narHash": "sha256-GOt8U25/XPaSs7G/IurYt8/wsJeoN2WmGUHG6tb12/o=", "owner": "homebrew", "repo": "homebrew-core", - "rev": "6cdf622ab60e38e182df0ab36d157a66ba54c5ed", + "rev": "c620dc89083ad752a024e41aa0c3e2b4d500ce3d", "type": "github" }, "original": { @@ -126,11 +126,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759036355, - "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", + "lastModified": 1759381078, + "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", + "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee", "type": "github" }, "original": { diff --git a/mbp/home.nix b/mbp/home.nix index 0e0d4e5..a2ee3c5 100755 --- a/mbp/home.nix +++ b/mbp/home.nix @@ -16,6 +16,7 @@ sops deploy-rs kubernetes-helm + kubectx fzf-preview zsh-fzf-tab zsh-forgit @@ -28,11 +29,13 @@ }; programs = { + ssh = { matchBlocks."*" = { identityAgent = "/Users/duumxh/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; }; enableDefaultConfig = false; enable = true; }; + git = { enable = true; userName = "Den Afanasyev"; @@ -46,7 +49,7 @@ prezto = { prompt = { - theme = "pure"; + theme = "powerlevel10k"; }; enable = true; }; @@ -69,7 +72,12 @@ expireDuplicatesFirst = true; }; initContent = lib.mkOrder 500 '' - echo "Hey there raccoon! 🦝🍁" + source ~/.p10k.zsh + export PURE_GIT_PULL=0 + export SSH_AUTH_SOCK=/Users/duumxh/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh + export TELEPORT_ADD_KEYS_TO_AGENT=no + export K9S_SKIN="transparent" + echo "Hey there raccoon! 🦝🍁" ''; #localVariables = {}; @@ -138,6 +146,58 @@ scrollbar = true; }; enable = true; + }; + + k9s = { + skins = { + transparent = { + k9s = { + body.bgColor = "default"; + prompt.bgColor = "default"; + info.sectionColor = "default"; + dialog = { + bgColor = "default"; + labelFgColor = "default"; + fieldFgColor = "default"; + }; + frame = { + crumbs.bgColor = "default"; + title = { + bgColor = "default"; + counterColor = "default"; + }; + menu.fgColor = "default"; + }; + views = { + charts.bgColor = "default"; + table = { + bgColor = "default"; + header = { + fgColor = "default"; + bgColor = "default"; + }; + }; + xray.bgColor = "default"; + logs = { + bgColor = "default"; + indicator = { + bgColor = "default"; + toggleOnColor = "default"; + toggleOffColor = "default"; + }; + }; + yaml = { + colonColor = "default"; + valueColor = "default"; + }; + }; + }; + }; + }; + enable = true; + + + }; home-manager.enable = true;