This commit is contained in:
2025-12-12 14:15:19 -05:00
parent 9fedd2d61e
commit b762b06f05
3 changed files with 12 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.k9s = { programs.k9s = {
enable = true; enable = true;
package = pkgs.k9sLatest; package = pkgs.k9s;
settings.k9s = { settings.k9s = {
refreshRate = "2s"; refreshRate = "2s";
liveViewAutoRefresh = false; liveViewAutoRefresh = false;
@@ -13,7 +13,7 @@
skipLatestRevCheck = false; skipLatestRevCheck = false;
skin = { skin = {
catppuccin-mocha = ../defaults/k9s-skins/catppuccin-mocha.yml; catppuccin-mocha = ../defaults/k9s/catppuccin-mocha.yaml;
}; };
ui = { ui = {

View File

@@ -1,12 +1,14 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
with pkgs; with pkgs;
let let
plugins = writeText "plugins" '' plugins = [
krew "krew"
oidc-login "oidc-login"
''; ];
in { in {
home.activation.krew = lib.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.krew = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
$DRY_RUN_CMD ${krewfile}/bin/krewfile -command ${krew}/bin/krew -file ${plugins} ${lib.concatMapStringsSep "\n" (plugin: ''
$DRY_RUN_CMD ${krew}/bin/kubectl-krew install ${plugin} || true
'') plugins}
''; '';
} }

View File

@@ -5,6 +5,9 @@ final: prev: let
rustc = rust_1_90_0; rustc = rust_1_90_0;
}; };
in { in {
xz = prev.xz.overrideAttrs (old: {
configureFlags = (old.configureFlags or []) ++ [ "--disable-sandbox" ];
});
lazygitLatest = prev.lazygit.overrideAttrs (_: rec { lazygitLatest = prev.lazygit.overrideAttrs (_: rec {
version = "0.55.1"; version = "0.55.1";
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {