cleanup?
This commit is contained in:
1 parent
9fedd2d61e
commit
b762b06f05
3 files changed
+12
-7
No files matched your search
+7
-5
@@ -1,12 +1,14 @@
|
||||
{ pkgs, lib, ... }:
|
||||
with pkgs;
|
||||
let
|
||||
plugins = writeText "plugins" ''
|
||||
krew
|
||||
oidc-login
|
||||
'';
|
||||
plugins = [
|
||||
"krew"
|
||||
"oidc-login"
|
||||
];
|
||||
in {
|
||||
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}
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user