2025-10-31 17:07:59 -04:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
with pkgs;
|
|
|
|
|
let
|
2025-12-12 14:15:19 -05:00
|
|
|
plugins = [
|
|
|
|
|
"krew"
|
|
|
|
|
"oidc-login"
|
|
|
|
|
];
|
2025-10-31 17:07:59 -04:00
|
|
|
in {
|
|
|
|
|
home.activation.krew = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
2025-12-12 14:15:19 -05:00
|
|
|
${lib.concatMapStringsSep "\n" (plugin: ''
|
2025-12-12 15:52:04 -05:00
|
|
|
$DRY_RUN_CMD ${krew}/bin/krew install ${plugin} || true
|
2025-12-12 14:15:19 -05:00
|
|
|
'') plugins}
|
2025-10-31 17:07:59 -04:00
|
|
|
'';
|
|
|
|
|
}
|